diff options
author | mathieui <mathieui@mathieui.net> | 2022-02-04 23:06:41 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2022-02-04 23:06:41 +0100 |
commit | 33efbd4d7bb1f6d77ee5cb55684bebc56ffc2eb8 (patch) | |
tree | 8a974c9cd9bd13b2ad3ac4ce98ebfe6533dfd8db | |
parent | e56930e0a12b8b5e5117474bd919550e5c6aa930 (diff) | |
parent | e344c0c303141293bdd0f3f59c094608070a24f6 (diff) | |
download | slixmpp-33efbd4d7bb1f6d77ee5cb55684bebc56ffc2eb8.tar.gz slixmpp-33efbd4d7bb1f6d77ee5cb55684bebc56ffc2eb8.tar.bz2 slixmpp-33efbd4d7bb1f6d77ee5cb55684bebc56ffc2eb8.tar.xz slixmpp-33efbd4d7bb1f6d77ee5cb55684bebc56ffc2eb8.zip |
Merge branch 'fix-moderation-bug' into 'master'
fix: missing <retract/> on moderate
See merge request poezio/slixmpp!180
-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) |