From a88460b9d5dd06168906c7d5c4c4b2bfd2f2acef Mon Sep 17 00:00:00 2001 From: Sorunome Date: Mon, 15 Jun 2020 10:39:26 +0200 Subject: [PATCH] also test storing a decrytped room udpate --- test/encryption/encrypt_decrypt_room_message_test.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/test/encryption/encrypt_decrypt_room_message_test.dart b/test/encryption/encrypt_decrypt_room_message_test.dart index 7227134..1a941f8 100644 --- a/test/encryption/encrypt_decrypt_room_message_test.dart +++ b/test/encryption/encrypt_decrypt_room_message_test.dart @@ -90,6 +90,7 @@ void main() { expect(decryptedEvent.type, 'm.room.message'); expect(decryptedEvent.content['msgtype'], 'm.text'); expect(decryptedEvent.content['text'], 'Hello foxies!'); + await client.encryption.decryptRoomEvent(roomId, encryptedEvent, store: true); }); test('dispose client', () async {