diff options
author | Kegan Dougal <kegan@matrix.org> | 2020-08-04 12:02:13 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2020-08-04 12:02:13 +0100 |
commit | 4cf7c081461b38c787847da126da15d12285179c (patch) | |
tree | 47a7f594b202082a4a9fca28a7acab34f8309fc9 /federationapi/routing | |
parent | 78ab33f91f6368c40a036654f2d820299abbf66e (diff) |
Fix response format for federation /devices requests
Diffstat (limited to 'federationapi/routing')
-rw-r--r-- | federationapi/routing/devices.go | 2 |
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) } |