mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 11:38:06 +01:00
Identify accounts for which to delete keys by UUID.
This commit is contained in:
committed by
Jon Chambers
parent
d09dcc90fe
commit
be20c04cd8
@@ -102,7 +102,7 @@ public class DeviceController {
|
||||
|
||||
messages.clear(account.getUuid(), deviceId);
|
||||
account = accounts.update(account, a -> a.removeDevice(deviceId));
|
||||
keys.delete(account, deviceId);
|
||||
keys.delete(account.getUuid(), deviceId);
|
||||
// ensure any messages that came in after the first clear() are also removed
|
||||
messages.clear(account.getUuid(), deviceId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user