mirror of
https://github.com/miloszowi/everyone-mention-telegram-bot.git
synced 2025-05-20 09:14:07 +00:00
another fix for reaction
This commit is contained in:
parent
fca6dd6f80
commit
44ecc307e3
@ -23,7 +23,7 @@ class DynamicMentionHandler(AbstractHandler):
|
|||||||
self.chat_repository = ChatRepository()
|
self.chat_repository = ChatRepository()
|
||||||
|
|
||||||
def handle(self, update: Update, context: CallbackContext) -> None:
|
def handle(self, update: Update, context: CallbackContext) -> None:
|
||||||
if update.message_reaction is not None:
|
if hasattr(update, 'message_reaction'):
|
||||||
return
|
return
|
||||||
|
|
||||||
users = self.chat_repository.get_users_for_group(self.inbound)
|
users = self.chat_repository.get_users_for_group(self.inbound)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user