Clarify that we don't need tyo recheck

This commit is contained in:
David Baker 2020-04-29 10:55:44 +01:00
parent e67faa15ca
commit 8aa5d762db

View file

@ -110,6 +110,9 @@ export default class DeviceListener {
_onWillUpdateDevices = async (users) => { _onWillUpdateDevices = async (users) => {
const myUserId = MatrixClientPeg.get().getUserId(); const myUserId = MatrixClientPeg.get().getUserId();
if (users.includes(myUserId)) this._ensureDeviceIdsAtStartPopulated(); if (users.includes(myUserId)) this._ensureDeviceIdsAtStartPopulated();
// No need to do a recheck here: we just need to get a snapshot of our devices
// before we download asny new ones.
} }
_onDevicesUpdated = (users) => { _onDevicesUpdated = (users) => {