You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
It helps if you use the right function
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
@@ -542,7 +542,7 @@ MegolmEncryption.prototype._getDevicesInRoom = function(room) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// The global value is treated as a default for when rooms don't specify a value.
|
// The global value is treated as a default for when rooms don't specify a value.
|
||||||
let isBlacklisting = this._crypto.getBlacklistUnverifiedDevices();
|
let isBlacklisting = this._crypto.getGlobalBlacklistUnverifiedDevices();
|
||||||
if (room.getBlacklistUnverifiedDevices() !== null) {
|
if (room.getBlacklistUnverifiedDevices() !== null) {
|
||||||
isBlacklisting = room.getBlacklistUnverifiedDevices();
|
isBlacklisting = room.getBlacklistUnverifiedDevices();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user