Merge branch 'fix-moderation-stanzaid' into 'master'

XEP-0425: Use stanzaid in integration test

See merge request poezio/slixmpp!93
This commit is contained in:
mathieui 2020-12-14 19:04:50 +01:00
commit d91eea3a3a

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')