Archived
1

Revert "Add debug message for new update"

This reverts commit ea2a6e1e9c.
This commit is contained in:
Vladimir Hodakov 2018-05-19 09:42:07 +04:00
parent ea2a6e1e9c
commit 22481ad7ec
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6

View File

@ -231,7 +231,6 @@ func (c *Context) StartBot() {
c.Log.Info("Webhook URL: " + c.Cfg.Telegram.WebHookDomain + c.Bot.Token) c.Log.Info("Webhook URL: " + c.Cfg.Telegram.WebHookDomain + c.Bot.Token)
for update := range updates { for update := range updates {
c.Log.Info("Got new update...")
if update.Message != nil { if update.Message != nil {
if update.Message.From != nil { if update.Message.From != nil {
if update.Message.Date > (int(time.Now().Unix()) - 5) { if update.Message.Date > (int(time.Now().Unix()) - 5) {