XEP-0425: Use stanzaid in integration test

It only worked due to a prosody quirk
This commit is contained in:
mathieui 2020-12-14 18:59:51 +01:00
parent a3ca4c11c3
commit 569b9c5ee2

View file

@ -56,7 +56,7 @@ class TestModerate(SlixIntegration):
iqres, new_msg = await asyncio.gather(
self.clients[0]['xep_0425'].moderate(
self.muc,
id=msg_recv['id'],
id=msg_recv['stanza_id']['id'],
reason='Your message is bad.',
),
self.clients[1].wait_until('moderated_message')