mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-22 21:31:04 -05:00
store: Change the name of the device key fields in the dict.
This commit is contained in:
parent
671fe9dbd0
commit
c60e554fc2
@ -404,7 +404,7 @@ class PanCtl:
|
||||
)
|
||||
|
||||
for device in devices:
|
||||
key = partition_key(device["fingerprint_key"])
|
||||
key = partition_key(device["ed25519"])
|
||||
color = get_color(device["device_id"])
|
||||
print_formatted_text(HTML(
|
||||
f" - Device id: "
|
||||
|
@ -234,8 +234,8 @@ class PanStore:
|
||||
device_store[d.user_id][d.device_id] = {
|
||||
"user_id": d.user_id,
|
||||
"device_id": d.device_id,
|
||||
"fingerprint_key": d.fp_key,
|
||||
"sender_key": d.sender_key,
|
||||
"ed25519": d.fp_key,
|
||||
"curve25519": d.sender_key,
|
||||
"trust_state": trust_state.name
|
||||
}
|
||||
|
||||
|
@ -132,8 +132,8 @@ class Devices(dbus.service.Object):
|
||||
device_store[user_id][device.id] = {
|
||||
"user_id": device.user_id,
|
||||
"device_id": device.id,
|
||||
"fingerprint_key": device.ed25519,
|
||||
"sender_key": device.curve25519,
|
||||
"e225519": device.ed25519,
|
||||
"curve25519": device.curve25519,
|
||||
"trust_state": TrustState.unset.name,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user