XEP-0424: Add an event for message retraction

+ update the integration test
This commit is contained in:
mathieui
2020-12-12 14:43:18 +01:00
parent d6be776640
commit 3b00c56bdc
2 changed files with 12 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ class TestRetract(SlixIntegration):
id='toto',
fallback_text='Twas a mistake',
)
msg = await self.clients[1].wait_until('message')
msg = await self.clients[1].wait_until('message_retract')
self.assertEqual(msg['apply_to']['id'], 'toto')
self.assertTrue(msg['apply_to']['retract'])