also test storing a decrytped room udpate
This commit is contained in:
parent
0e0fd61c65
commit
a88460b9d5
|
@ -90,6 +90,7 @@ void main() {
|
||||||
expect(decryptedEvent.type, 'm.room.message');
|
expect(decryptedEvent.type, 'm.room.message');
|
||||||
expect(decryptedEvent.content['msgtype'], 'm.text');
|
expect(decryptedEvent.content['msgtype'], 'm.text');
|
||||||
expect(decryptedEvent.content['text'], 'Hello foxies!');
|
expect(decryptedEvent.content['text'], 'Hello foxies!');
|
||||||
|
await client.encryption.decryptRoomEvent(roomId, encryptedEvent, store: true);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('dispose client', () async {
|
test('dispose client', () async {
|
||||||
|
|
Loading…
Reference in a new issue