From 6e21cff0a7db61d7672a6a51e95aad6d2745102c Mon Sep 17 00:00:00 2001 From: Sorunome Date: Wed, 27 May 2020 21:49:49 +0200 Subject: [PATCH] fix error thingy --- lib/src/client.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/client.dart b/lib/src/client.dart index b6facac..e0d40fc 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -1466,6 +1466,7 @@ class Client { _updateRoomsByEventUpdate(update); if (event['type'].startsWith('m.key.verification.') || (event['type'] == 'm.room.message' && + (event['content']['msgtype'] is String) && event['content']['msgtype'].startsWith('m.key.verification.'))) { _handleRoomKeyVerificationRequest(update); }