Merge branch 'fix-moderation-bug' into 'master'
fix: missing <retract/> on moderate See merge request poezio/slixmpp!180
This commit is contained in:
commit
33efbd4d7b
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue