aboutsummaryrefslogtreecommitdiff
path: root/federationapi
diff options
context:
space:
mode:
Diffstat (limited to 'federationapi')
-rw-r--r--federationapi/routing/devices.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/federationapi/routing/devices.go b/federationapi/routing/devices.go
index 00631b9b..07862451 100644
--- a/federationapi/routing/devices.go
+++ b/federationapi/routing/devices.go
@@ -40,6 +40,7 @@ func GetUserDevices(
response := gomatrixserverlib.RespUserDevices{
UserID: userID,
StreamID: res.StreamID,
+ Devices: []gomatrixserverlib.RespUserDevice{},
}
for _, dev := range res.Devices {