another fix for reaction

This commit is contained in:
miloszowi 2024-03-05 09:49:35 +01:00
parent fca6dd6f80
commit 44ecc307e3

View File

@ -23,7 +23,7 @@ class DynamicMentionHandler(AbstractHandler):
self.chat_repository = ChatRepository()
def handle(self, update: Update, context: CallbackContext) -> None:
if update.message_reaction is not None:
if hasattr(update, 'message_reaction'):
return
users = self.chat_repository.get_users_for_group(self.inbound)