mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fix #61
This commit is contained in:
parent
b7a4d3f0b3
commit
ee4061561e
@ -367,7 +367,7 @@ class TeleBot:
|
||||
"""
|
||||
chat_id = message.chat.id
|
||||
if chat_id in self.message_subscribers_next_step:
|
||||
self.message_subscribers_next_step.append(callback)
|
||||
self.message_subscribers_next_step[chat_id].append(callback)
|
||||
else:
|
||||
self.message_subscribers_next_step[chat_id] = [callback]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user