From cdec83c28d67f5231bc655ddf8e5353ad8e3664c Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 3 May 2019 17:23:20 +0800 Subject: [PATCH] fix --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index 17e4f04..4653a55 100644 --- a/td.go +++ b/td.go @@ -154,7 +154,7 @@ func getHistory(c *tdlib.Client) { m.Direction = Incoming } - b, err := json.Marshal(m) + b, _ := json.Marshal(m) _ = ch.Publish( "", // exchange