fix: missing <retract/> on moderate
This commit is contained in:
parent
e56930e0a1
commit
e344c0c303
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