mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-30 04:52:46 +00:00
Fix response format for federation /devices requests
This commit is contained in:
parent
78ab33f91f
commit
4cf7c08146
3 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue