From e344c0c303141293bdd0f3f59c094608070a24f6 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 4 Feb 2022 19:25:53 +0100 Subject: fix: missing on moderate --- slixmpp/plugins/xep_0425/moderation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/slixmpp/plugins/xep_0425/moderation.py b/slixmpp/plugins/xep_0425/moderation.py index 053e18f6..3c1308fc 100644 --- a/slixmpp/plugins/xep_0425/moderation.py +++ b/slixmpp/plugins/xep_0425/moderation.py @@ -44,4 +44,5 @@ class XEP_0425(BasePlugin): iq = self.xmpp.make_iq_set(ito=room.bare, ifrom=ifrom) iq['apply_to']['id'] = id iq['apply_to']['moderate']['reason'] = reason + iq['apply_to']['moderate'].enable('retract') await iq.send(**iqkwargs) -- cgit v1.2.3