Have spaces in device key for member verification

This commit is contained in:
miruka 2020-07-15 11:25:01 -04:00
parent 04692179f9
commit 2449fd5f18

View File

@ -1495,7 +1495,7 @@ class MatrixClient(nio.AsyncClient):
"id": device.id, "id": device.id,
"display_name": device.display_name or "", "display_name": device.display_name or "",
"type": device.trust_state.name, "type": device.trust_state.name,
"ed25519_key": device.ed25519, "ed25519_key": " ".join(textwrap.wrap(device.ed25519, 4)),
} }
for device in self.device_store.active_user_devices(user_id) for device in self.device_store.active_user_devices(user_id)
] ]