mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-03 03:50:42 +03:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
f2e3e30af8
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export function markAllDevicesKnown(matrixClient, devices) {
|
||||||
* module:crypto~DeviceInfo|DeviceInfo}.
|
* module:crypto~DeviceInfo|DeviceInfo}.
|
||||||
*/
|
*/
|
||||||
export function getUnknownDevicesForRoom(matrixClient, room) {
|
export function getUnknownDevicesForRoom(matrixClient, room) {
|
||||||
const roomMembers = room.getJoinedMembers().map((m) => {
|
const roomMembers = room.getEncryptionTargetMembers().map((m) => {
|
||||||
return m.userId;
|
return m.userId;
|
||||||
});
|
});
|
||||||
return matrixClient.downloadKeys(roomMembers, false).then((devices) => {
|
return matrixClient.downloadKeys(roomMembers, false).then((devices) => {
|
||||||
|
|
Loading…
Reference in a new issue