From f446f52f2861695126b4cdad7dc030ff9e35750f Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 10 Jun 2019 21:33:04 +0800 Subject: [PATCH] test --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index 49fcf61..f4bc428 100644 --- a/td.go +++ b/td.go @@ -35,7 +35,7 @@ func ListenMQ(c *tdlib.Client, msgs <-chan TGCommand) { time.Sleep(time.Until(lastOwnTDMsg.Add(time.Second))) now = time.Now() } - b := json.Marshal(m) + b, err := json.Marshal(m) log.Printf("New MQ message :\n%s\n", string(b)) switch m.Type { case commandSendMsg: