From 569b9c5ee2b314ac50ee166cb6d851083d055029 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 14 Dec 2020 18:59:51 +0100 Subject: [PATCH] XEP-0425: Use stanzaid in integration test It only worked due to a prosody quirk --- itests/test_moderate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')