Merge branch 'krille/fix-store-incoming-keys' into 'master'
Store incoming keys in dummy room if not found See merge request famedly/famedlysdk!299
This commit is contained in:
commit
bb690a22da
|
@ -1408,6 +1408,7 @@ class Client {
|
|||
_pendingToDeviceEvents.add(toDeviceEvent);
|
||||
break;
|
||||
}
|
||||
room ??= Room(client: this, id: roomId);
|
||||
final String sessionId = toDeviceEvent.content['session_id'];
|
||||
if (toDeviceEvent.type == 'm.room_key' &&
|
||||
userDeviceKeys.containsKey(toDeviceEvent.sender) &&
|
||||
|
|
Loading…
Reference in a new issue