diff options
author | mathieui <mathieui@mathieui.net> | 2022-02-04 19:25:53 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2022-02-04 19:25:53 +0100 |
commit | e344c0c303141293bdd0f3f59c094608070a24f6 (patch) | |
tree | 8a974c9cd9bd13b2ad3ac4ce98ebfe6533dfd8db | |
parent | e56930e0a12b8b5e5117474bd919550e5c6aa930 (diff) | |
download | slixmpp-e344c0c303141293bdd0f3f59c094608070a24f6.tar.gz slixmpp-e344c0c303141293bdd0f3f59c094608070a24f6.tar.bz2 slixmpp-e344c0c303141293bdd0f3f59c094608070a24f6.tar.xz slixmpp-e344c0c303141293bdd0f3f59c094608070a24f6.zip |
fix: missing <retract/> on moderate
-rw-r--r-- | slixmpp/plugins/xep_0425/moderation.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |