forked from ticketfrei/ticketfrei
Merge branch 'multi-deployment' of github:git-sid/ticketfrei into multi-deployment
# Conflicts: # active_bots/telegrambot.py
This commit is contained in:
commit
9c27c4093a
|
@ -12,7 +12,8 @@ class TelegramBot(Bot):
|
|||
tb = Telegram(user.get_telegram_credentials())
|
||||
seen_tg = user.get_seen_tg()
|
||||
try:
|
||||
updates = tb.get_updates(offset=seen_tg+1).wait()
|
||||
updates = tb.get_updates(offset=seen_tg + 1,
|
||||
allowed_updates="message").wait()
|
||||
except TypeError:
|
||||
updates = tb.get_updates().wait()
|
||||
reports = []
|
||||
|
|
Loading…
Reference in a new issue