diff --git a/itests/test_moderate.py b/itests/test_moderate.py index 3e155ce4..e7e2b95e 100644 --- a/itests/test_moderate.py +++ b/itests/test_moderate.py @@ -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')