From f24b02cae43ec146742c40acea53c651b884184d Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 9 Nov 2017 11:01:42 -0700 Subject: [PATCH] It helps if you use the right function Signed-off-by: Travis Ralston --- src/crypto/algorithms/megolm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/algorithms/megolm.js b/src/crypto/algorithms/megolm.js index d0600057f..372caaf17 100644 --- a/src/crypto/algorithms/megolm.js +++ b/src/crypto/algorithms/megolm.js @@ -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(); }