From 489e419e383202bb0576578426eec068924b1af0 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 13 Dec 2020 22:48:17 +0100 Subject: XEP-0424: fire event even with groupchat messages --- slixmpp/plugins/xep_0424/retraction.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/slixmpp/plugins/xep_0424/retraction.py b/slixmpp/plugins/xep_0424/retraction.py index 09e3adee..8446ac4a 100644 --- a/slixmpp/plugins/xep_0424/retraction.py +++ b/slixmpp/plugins/xep_0424/retraction.py @@ -45,8 +45,7 @@ class XEP_0424(BasePlugin): self.xmpp.plugin['xep_0030'].del_feature(feature=stanza.NS) def _handle_retract_message(self, message: Message): - if message['type'] != 'groupchat': - self.xmpp.event('message_retract', message) + self.xmpp.event('message_retract', message) def send_retraction(self, mto: JID, id: str, mtype: str = 'chat', include_fallback: bool = True, -- cgit v1.2.3