mirror of https://github.com/vector-im/riot-web
parent
19170945b1
commit
38124ba9d0
|
@ -108,7 +108,7 @@ export default class DeviceListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
_onWillUpdateDevices = async (users, initialFetch) => {
|
_onWillUpdateDevices = async (users, initialFetch) => {
|
||||||
// We we didn't know about *any* devices before (ie. it's fresh login),
|
// If we didn't know about *any* devices before (ie. it's fresh login),
|
||||||
// then they are all pre-existing devices, so ignore this and set the
|
// then they are all pre-existing devices, so ignore this and set the
|
||||||
// devicesAtStart list to the devices that we see after the fetch.
|
// devicesAtStart list to the devices that we see after the fetch.
|
||||||
if (initialFetch) return;
|
if (initialFetch) return;
|
||||||
|
|
Loading…
Reference in New Issue