XEP-0425: Use stanzaid in integration test
It only worked due to a prosody quirk
This commit is contained in:
parent
a3ca4c11c3
commit
569b9c5ee2
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class TestModerate(SlixIntegration):
|
||||||
iqres, new_msg = await asyncio.gather(
|
iqres, new_msg = await asyncio.gather(
|
||||||
self.clients[0]['xep_0425'].moderate(
|
self.clients[0]['xep_0425'].moderate(
|
||||||
self.muc,
|
self.muc,
|
||||||
id=msg_recv['id'],
|
id=msg_recv['stanza_id']['id'],
|
||||||
reason='Your message is bad.',
|
reason='Your message is bad.',
|
||||||
),
|
),
|
||||||
self.clients[1].wait_until('moderated_message')
|
self.clients[1].wait_until('moderated_message')
|
||||||
|
|
Loading…
Reference in a new issue