fix error thingy
This commit is contained in:
parent
c779d39818
commit
6e21cff0a7
|
@ -1466,6 +1466,7 @@ class Client {
|
||||||
_updateRoomsByEventUpdate(update);
|
_updateRoomsByEventUpdate(update);
|
||||||
if (event['type'].startsWith('m.key.verification.') ||
|
if (event['type'].startsWith('m.key.verification.') ||
|
||||||
(event['type'] == 'm.room.message' &&
|
(event['type'] == 'm.room.message' &&
|
||||||
|
(event['content']['msgtype'] is String) &&
|
||||||
event['content']['msgtype'].startsWith('m.key.verification.'))) {
|
event['content']['msgtype'].startsWith('m.key.verification.'))) {
|
||||||
_handleRoomKeyVerificationRequest(update);
|
_handleRoomKeyVerificationRequest(update);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue