mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-02-22 07:39:47 -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…
x
Reference in New Issue
Block a user