diff options
author | mathieui <mathieui@mathieui.net> | 2020-12-13 22:48:17 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-12-13 22:48:17 +0100 |
commit | 489e419e383202bb0576578426eec068924b1af0 (patch) | |
tree | 59b1dbd6208ea2545c1d23fd3806048c3bf32c97 | |
parent | 0b2594aa2c80b5c2856b6ae94a3c484107424bd2 (diff) | |
download | slixmpp-489e419e383202bb0576578426eec068924b1af0.tar.gz slixmpp-489e419e383202bb0576578426eec068924b1af0.tar.bz2 slixmpp-489e419e383202bb0576578426eec068924b1af0.tar.xz slixmpp-489e419e383202bb0576578426eec068924b1af0.zip |
XEP-0424: fire event even with groupchat messages
-rw-r--r-- | slixmpp/plugins/xep_0424/retraction.py | 3 |
1 files changed, 1 insertions, 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, |