From 2f93078f8807bdfda5e67930d70cafd60985260c Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 5 Nov 2019 10:49:46 +0800 Subject: [PATCH] update --- td.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/td.go b/td.go index 86ef6c3..f5b9730 100644 --- a/td.go +++ b/td.go @@ -89,8 +89,7 @@ func ListenTG(c *tdlib.Client) { break } lastChatTDMsgMux[m.ChatID64].Unlock() - fmt.Println("Delaying message.") - time.Sleep(time.Until(now.Add(time.Second))) + time.Sleep(time.Until(now.Add(200 * time.Millisecond))) } MQCWMsgQueue <- m