From d241ceea56737c1acac70ddada986eff7fb8bc98 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 30 Apr 2020 22:21:48 +0100 Subject: [PATCH] Clear more state in DeviceListener Especially the devices at start, otherwise they'll just be wrong if you log in after logging out. --- src/DeviceListener.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DeviceListener.js b/src/DeviceListener.js index d948911d7c..d2ba8219db 100644 --- a/src/DeviceListener.js +++ b/src/DeviceListener.js @@ -78,6 +78,8 @@ export default class DeviceListener { this._dismissedThisDeviceToast = false; this._keyBackupInfo = null; this._keyBackupFetchedAt = null; + this._ourDeviceIdsAtStart = null; + this._displayingToastsForDeviceIds = new Set(); } /**