Add type assertions where we know an event is a room event (has room_id) (#9498)

This commit is contained in:
Michael Telatynski 2022-10-25 19:57:36 +01:00 committed by GitHub
parent 306a2449e5
commit b7ff56a726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 12 deletions

View file

@ -6,7 +6,7 @@ Array [
Array [
Object {
"deviceInfo": DeviceInfo {
"algorithms": undefined,
"algorithms": Array [],
"deviceId": "aliceWeb",
"keys": Object {},
"known": false,
@ -18,7 +18,7 @@ Array [
},
Object {
"deviceInfo": DeviceInfo {
"algorithms": undefined,
"algorithms": Array [],
"deviceId": "aliceMobile",
"keys": Object {},
"known": false,
@ -37,7 +37,7 @@ Array [
Array [
Object {
"deviceInfo": DeviceInfo {
"algorithms": undefined,
"algorithms": Array [],
"deviceId": "bobDesktop",
"keys": Object {},
"known": false,