aboutsummaryrefslogtreecommitdiff
path: root/federationapi/routing/devices.go
diff options
context:
space:
mode:
Diffstat (limited to 'federationapi/routing/devices.go')
-rw-r--r--federationapi/routing/devices.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/federationapi/routing/devices.go b/federationapi/routing/devices.go
index 0d1d85b4..00631b9b 100644
--- a/federationapi/routing/devices.go
+++ b/federationapi/routing/devices.go
@@ -53,7 +53,7 @@ func GetUserDevices(
device := gomatrixserverlib.RespUserDevice{
DeviceID: dev.DeviceID,
DisplayName: dev.DisplayName,
- Keys: []gomatrixserverlib.RespUserDeviceKeys{key},
+ Keys: key,
}
response.Devices = append(response.Devices, device)
}