You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
devicesByUser should be userId => array of devices
This commit is contained in:
@@ -629,9 +629,7 @@ MegolmEncryption.prototype.reshareKeyWithDevice = async function(
|
||||
|
||||
await olmlib.ensureOlmSessionsForDevices(
|
||||
this._olmDevice, this._baseApis, {
|
||||
[userId]: {
|
||||
[device.deviceId]: device,
|
||||
},
|
||||
[userId]: [device],
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user