Also receive self-message events in plugins

fixes omemo messages from another of our connected clients
This commit is contained in:
mathieui 2021-01-21 19:54:22 +01:00 committed by Maxime Buquet
parent 98bd4c241e
commit e1720c8e23

View file

@ -387,7 +387,7 @@ class HandlerCore:
remote_nick = conversation.get_nick()
conversation.last_remote_message = datetime.now()
self.core.events.trigger('conversation_msg', message, conversation)
self.core.events.trigger('conversation_msg', message, conversation)
if not message['body']:
return