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 “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
b71a367bcb
commit
c7983d176d
1 changed files with 0 additions and 1 deletions
|
@ -40,7 +40,6 @@ class EchoBot(ClientXMPP):
|
||||||
|
|
||||||
self.add_event_handler("session_start", self.start)
|
self.add_event_handler("session_start", self.start)
|
||||||
self.add_event_handler("message", self.message)
|
self.add_event_handler("message", self.message)
|
||||||
self.add_event_handler("message_encryption", self.message)
|
|
||||||
|
|
||||||
def start(self, _event) -> None:
|
def start(self, _event) -> None:
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue