From c7983d176d40e675ed85c5ee82caef395a6d2f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 23 Feb 2019 12:25:33 +0000 Subject: [PATCH] Remove handler on message_encryption MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- examples/echo_client.py | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/echo_client.py b/examples/echo_client.py index f7d422b..6f06da5 100644 --- a/examples/echo_client.py +++ b/examples/echo_client.py @@ -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: """