1
0
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:
Travis Ralston
2017-11-09 11:01:42 -07:00
parent 995f796a5d
commit f24b02cae4

View File

@@ -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.
let isBlacklisting = this._crypto.getBlacklistUnverifiedDevices();
let isBlacklisting = this._crypto.getGlobalBlacklistUnverifiedDevices();
if (room.getBlacklistUnverifiedDevices() !== null) {
isBlacklisting = room.getBlacklistUnverifiedDevices();
}