forked from mystiq/hydrogen-web
fix changed key not being ignored
This commit is contained in:
parent
bc51644868
commit
c62c8da10b
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ export class DeviceTracker {
|
|||
const existingDevice = await txn.deviceIdentities.get(deviceIdentity.userId, deviceIdentity.deviceId);
|
||||
if (existingDevice.ed25519Key !== deviceIdentity.ed25519Key) {
|
||||
allDeviceIdentities.push(existingDevice);
|
||||
return;
|
||||
}
|
||||
}
|
||||
allDeviceIdentities.push(deviceIdentity);
|
||||
|
|
Loading…
Reference in a new issue