mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2026-02-09 20:44:34 -05:00
default to None room topic if invalid/redacted for spaces too
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
0187b788b8
commit
f3f12c3030
1 changed files with 2 additions and 1 deletions
|
|
@ -572,7 +572,8 @@ impl Service {
|
|||
error!("Invalid room topic event in database for room {}", room_id);
|
||||
Error::bad_database("Invalid room topic event in database.")
|
||||
})
|
||||
})?,
|
||||
})
|
||||
.unwrap_or(None),
|
||||
world_readable: world_readable(room_id)?,
|
||||
guest_can_join: guest_can_join(room_id)?,
|
||||
avatar_url: services()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue