fix new lints; clippy::unnecessary-map-or
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
2a9bb1ce11
commit
58be22e695
9 changed files with 10 additions and 17 deletions
|
@ -101,7 +101,7 @@ impl Service {
|
|||
.account_data
|
||||
.get_global(recipient_user, GlobalAccountDataEventType::IgnoredUserList)
|
||||
.await
|
||||
.map_or(false, |ignored: IgnoredUserListEvent| {
|
||||
.is_ok_and(|ignored: IgnoredUserListEvent| {
|
||||
ignored
|
||||
.content
|
||||
.ignored_users
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue