XEP-0424: fire event even with groupchat messages
This commit is contained in:
parent
0b2594aa2c
commit
489e419e38
1 changed files with 1 additions and 2 deletions
|
@ -45,8 +45,7 @@ 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',
|
||||||
include_fallback: bool = True,
|
include_fallback: bool = True,
|
||||||
|
|
Loading…
Reference in a new issue