mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
Clarify that we don't need tyo recheck
This commit is contained in:
parent
e67faa15ca
commit
8aa5d762db
1 changed files with 3 additions and 0 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue