diff --git a/td.go b/td.go index f4bc428..18fd424 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, err := json.Marshal(m) + b, _ := json.Marshal(m) log.Printf("New MQ message :\n%s\n", string(b)) switch m.Type { case commandSendMsg: