diff --git a/lib/src/client.dart b/lib/src/client.dart index b6facac8..e0d40fc1 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); }