mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
fix new lints; clippy::unnecessary-map-or
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
2a9bb1ce11
commit
58be22e695
9 files changed
+10
-17
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user