This commit is contained in:
shoopea 2019-05-15 10:38:47 +08:00
parent 837cbae8eb
commit 04b9988aca

2
td.go
View File

@ -21,7 +21,7 @@ func ListenMe(c *tdlib.Client) {
} }
receiver := c.AddEventReceiver(&tdlib.UpdateNewMessage{}, eventFilter, 100) receiver := c.AddEventReceiver(&tdlib.UpdateNewMessage{}, eventFilter, 100)
for _ := range receiver.Chan { for _ = range receiver.Chan {
lastOwnTDMsg = time.Now() lastOwnTDMsg = time.Now()
} }
} }