mirror of
https://github.com/miloszowi/everyone-mention-telegram-bot.git
synced 2025-10-10 09:05:57 +00:00
fixed issue when reacting to message triggered dynamic mention
This commit is contained in:
@@ -23,6 +23,9 @@ class DynamicMentionHandler(AbstractHandler):
|
||||
self.chat_repository = ChatRepository()
|
||||
|
||||
def handle(self, update: Update, context: CallbackContext) -> None:
|
||||
if update.message_reaction is not None:
|
||||
return
|
||||
|
||||
users = self.chat_repository.get_users_for_group(self.inbound)
|
||||
|
||||
Replier.markdown(update, MessageBuilder.mention_message(users))
|
||||
|
Reference in New Issue
Block a user