all repos — telegram-bot-api @ 9f17771ecd47c3a9f2f594cf3aa90b576ad5eaf0

Golang bindings for the Telegram Bot API

fixes
sirlandalf lorenzo.landolfi97@gmail.com
Sat, 27 Jun 2015 04:20:32 +0200
commit

9f17771ecd47c3a9f2f594cf3aa90b576ad5eaf0

parent

618a0193889064210f71e13fa0024afcf8cd196b

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M updates.goupdates.go

@@ -12,11 +12,11 @@ panic(err)

} for _, update := range updates { - if update.UpdateID > config.Offset { + if update.UpdateID >= config.Offset { config.Offset = update.UpdateID + 1 + bot.Updates <- update } - bot.Updates <- update } } }()