Upgrade Ruma

This commit is contained in:
Jonas Platte 2022-02-12 02:06:30 +01:00
parent 9db0473ed5
commit 50b24b37c2
No known key found for this signature in database
GPG key ID: 7D261D771D915378
6 changed files with 34 additions and 32 deletions

View file

@ -17,7 +17,7 @@ pub async fn search_events_route(
let sender_user = body.sender_user.as_ref().expect("user is authenticated");
let search_criteria = body.search_categories.room_events.as_ref().unwrap();
let filter = search_criteria.filter.clone().unwrap_or_default();
let filter = &search_criteria.filter;
let room_ids = filter.rooms.clone().unwrap_or_else(|| {
db.rooms