diff --git a/td.go b/td.go index 5cca662..27314ef 100644 --- a/td.go +++ b/td.go @@ -23,6 +23,7 @@ func ListenMe(c *tdlib.Client) { receiver := c.AddEventReceiver(&tdlib.UpdateNewMessage{}, eventFilter, 100) for _ = range receiver.Chan { lastOwnTDMsg = time.Now() + log.Printf("ListenMe : lastOwnTDMsg updated.\n") } }