mirror of
https://github.com/miloszowi/everyone-mention-telegram-bot.git
synced 2025-05-20 09:14:07 +00:00
fixed issue when reacting to message triggered dynamic mention
This commit is contained in:
parent
eeb9fe5c3a
commit
fca6dd6f80
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user