Merge branch 'retract-in-groupchats' into 'master'
XEP-0424: fire event even with groupchat messages See merge request poezio/slixmpp!92
This commit is contained in:
commit
a3ca4c11c3
1 changed files with 1 additions and 2 deletions
|
@ -45,7 +45,6 @@ class XEP_0424(BasePlugin):
|
||||||
self.xmpp.plugin['xep_0030'].del_feature(feature=stanza.NS)
|
self.xmpp.plugin['xep_0030'].del_feature(feature=stanza.NS)
|
||||||
|
|
||||||
def _handle_retract_message(self, message: Message):
|
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',
|
def send_retraction(self, mto: JID, id: str, mtype: str = 'chat',
|
||||||
|
|
Loading…
Reference in a new issue