mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-20 20:31:28 -05:00
ui: Don't add deleted devices to the devices dict.
This commit is contained in:
parent
a339f7be1d
commit
d6827e524c
@ -364,6 +364,7 @@ if UI_ENABLED:
|
||||
device_list[device["user_id"]].pop(device["device_id"])
|
||||
except KeyError:
|
||||
pass
|
||||
continue
|
||||
|
||||
device.pop("deleted")
|
||||
device_list[device["user_id"]][device["device_id"]] = device
|
||||
|
Loading…
Reference in New Issue
Block a user