summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Buquet <pep@bouah.net>2020-12-13 23:39:12 +0100
committerMaxime Buquet <pep@bouah.net>2020-12-13 23:39:12 +0100
commita3ca4c11c37b138bc45c51a57b900dbc64c6f0de (patch)
tree59b1dbd6208ea2545c1d23fd3806048c3bf32c97
parent0b2594aa2c80b5c2856b6ae94a3c484107424bd2 (diff)
parent489e419e383202bb0576578426eec068924b1af0 (diff)
downloadslixmpp-a3ca4c11c37b138bc45c51a57b900dbc64c6f0de.tar.gz
slixmpp-a3ca4c11c37b138bc45c51a57b900dbc64c6f0de.tar.bz2
slixmpp-a3ca4c11c37b138bc45c51a57b900dbc64c6f0de.tar.xz
slixmpp-a3ca4c11c37b138bc45c51a57b900dbc64c6f0de.zip
Merge branch 'retract-in-groupchats' into 'master'
XEP-0424: fire event even with groupchat messages See merge request poezio/slixmpp!92
-rw-r--r--slixmpp/plugins/xep_0424/retraction.py3
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,