refactor: appease clippy
This commit is contained in:
parent
d841b81c56
commit
4c06f329c4
3 changed files with 12 additions and 6 deletions
|
@ -1618,7 +1618,7 @@ pub async fn sync_events_v4_route(
|
|||
.rooms
|
||||
.state_accessor
|
||||
.get_name(room_id)?
|
||||
.or_else(|| name),
|
||||
.or(name),
|
||||
avatar: if let Some(avatar) = avatar {
|
||||
ruma::JsOption::Some(avatar)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue