mirror of https://github.com/vector-im/riot-web
Clarify that we don't need tyo recheck
parent
75c680715f
commit
89a910c718
|
@ -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 New Issue