fix: Add aggregations to the search endpoint
This commit is contained in:
parent
96bfdb97da
commit
8d3e4eba99
2 changed files with 22 additions and 3 deletions
|
|
@ -110,7 +110,12 @@ async fn category_room_events(
|
|||
limit,
|
||||
};
|
||||
|
||||
let (count, results) = services.rooms.search.search_pdus(&query).await.ok()?;
|
||||
let (count, results) = services
|
||||
.rooms
|
||||
.search
|
||||
.search_pdus(&query, sender_user)
|
||||
.await
|
||||
.ok()?;
|
||||
|
||||
results
|
||||
.collect::<Vec<_>>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue