diff options
author | mathieui <mathieui@mathieui.net> | 2020-12-14 18:59:51 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-12-14 18:59:51 +0100 |
commit | 569b9c5ee2b314ac50ee166cb6d851083d055029 (patch) | |
tree | 74f1f4c48914b615a6bc5af45797591283e43d88 | |
parent | a3ca4c11c37b138bc45c51a57b900dbc64c6f0de (diff) | |
download | slixmpp-569b9c5ee2b314ac50ee166cb6d851083d055029.tar.gz slixmpp-569b9c5ee2b314ac50ee166cb6d851083d055029.tar.bz2 slixmpp-569b9c5ee2b314ac50ee166cb6d851083d055029.tar.xz slixmpp-569b9c5ee2b314ac50ee166cb6d851083d055029.zip |
XEP-0425: Use stanzaid in integration test
It only worked due to a prosody quirk
-rw-r--r-- | itests/test_moderate.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |