From 5fd74109ffc56b73deb40c2604d84c38b8032c40 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 3 Feb 2017 14:29:32 +0000 Subject: [PATCH] Fix device list update s/flushNewDeviceRequests/refreshOutdatedDeviceLists/ - this got fixed on one PR and apparenlty I failed to merge the changes correctly --- src/crypto/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crypto/index.js b/src/crypto/index.js index d4958304a..1a42288a8 100644 --- a/src/crypto/index.js +++ b/src/crypto/index.js @@ -764,7 +764,7 @@ Crypto.prototype._onSyncCompleted = function(syncData) { // if that failed, we fall back to invalidating everyone. console.warn("Error fetching changed device list", e); this._invalidateDeviceListForAllActiveUsers(); - return this._deviceList.flushNewDeviceRequests(); + return this._deviceList.refreshOutdatedDeviceLists(); }).done(); } else { // otherwise, we have to invalidate all devices for all users we @@ -853,7 +853,7 @@ Crypto.prototype._invalidateDeviceListsSince = function(oldSyncToken) { this._deviceList.invalidateUserDeviceList(u); } }); - return this._deviceList.flushNewDeviceRequests(); + return this._deviceList.refreshOutdatedDeviceLists(); }); };