Commit c7983d17 authored by Maxime Buquet's avatar Maxime Buquet

Remove handler on message_encryption

This event is being sent by slixmpp's EME plugin, when a message
contains an EME tag. I can already test for this myself, so I'd rather
not hook this event to remove duplicated messages.
Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent b71a367b
......@@ -40,7 +40,6 @@ class EchoBot(ClientXMPP):
self.add_event_handler("session_start", self.start)
self.add_event_handler("message", self.message)
self.add_event_handler("message_encryption", self.message)
def start(self, _event) -> None:
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment