1
0
mirror of https://github.com/vector-im/hydrogen-web.git synced 2025-01-11 20:47:18 +01:00
This commit is contained in:
Bruno Windels 2020-08-31 16:05:04 +02:00
parent 8b7fdb2c61
commit 0399562340

@ -24,7 +24,7 @@ const DEVICE_KEYS_SIGNATURE_ALGORITHM = "ed25519";
// map 1 device from /keys/query response to DeviceIdentity
function deviceKeysAsDeviceIdentity(deviceSection) {
const deviceId = deviceSection["device_id"];
const userId = deviceSection["userId_id"];
const userId = deviceSection["user_id"];
return {
userId,
deviceId,