From 020b07fef033ced95786c2c7b82cfc8c61eec826 Mon Sep 17 00:00:00 2001 From: Tnze Date: Wed, 24 Jul 2019 03:10:23 +0800 Subject: [PATCH] Chat Message support Encode now,fix --- chat/chatMsg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{