diff --git a/chat/chatMsg.go b/chat/chatMsg.go index 7f9a9a6..cb524d1 100644 --- a/chat/chatMsg.go +++ b/chat/chatMsg.go @@ -55,7 +55,7 @@ func (m Message) Encode() []byte { if err != nil { panic(err) } - return code + return pk.String(code).Encode() } var fmtCode = map[byte]string{