This commit is contained in:
shoopea 2019-11-05 10:49:46 +08:00
parent da40b74b6c
commit 2f93078f88

3
td.go
View File

@ -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