Skip to content
Snippets Groups Projects
Commit bfc738d8 authored by 🥺's avatar 🥺 :transgender_flag: Committed by 🥺
Browse files

default to None for room topic event in spaces or /publicRooms

parent ef10a2df
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,8 @@ pub(crate) async fn get_public_rooms_filtered_helper(
error!("Invalid room topic event in database for room {}", room_id);
Error::bad_database("Invalid room topic event in database.")
})
})?,
})
.unwrap_or_default(),
world_readable: services()
.rooms
.state_accessor
......
......@@ -346,7 +346,8 @@ async fn get_room_chunk(
error!("Invalid room topic event in database for room {}", room_id);
Error::bad_database("Invalid room topic event in database.")
})
})?,
})
.unwrap_or_default(),
world_readable: services()
.rooms
.state_accessor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment