aboutsummaryrefslogtreecommitdiff
path: root/syncapi/routing/search.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/routing/search.go')
-rw-r--r--syncapi/routing/search.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/routing/search.go b/syncapi/routing/search.go
index d892b604..7d5c061b 100644
--- a/syncapi/routing/search.go
+++ b/syncapi/routing/search.go
@@ -267,7 +267,7 @@ func Search(req *http.Request, device *api.Device, syncDB storage.Database, fts
ProfileInfo: profileInfos,
},
Rank: eventScore[event.EventID()].Score,
- Result: synctypes.ToClientEvent(event, synctypes.FormatAll, sender, sk),
+ Result: synctypes.ToClientEvent(event, synctypes.FormatAll, sender.String(), sk, event.Unsigned()),
})
roomGroup := groups[event.RoomID()]
roomGroup.Results = append(roomGroup.Results, event.EventID())