1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
This commit is contained in:
eternnoir 2015-08-21 22:58:48 +08:00
parent b7a4d3f0b3
commit ee4061561e

View File

@ -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]