chore: Clippy fixes

This commit is contained in:
Ginger
2026-05-08 12:41:57 -04:00
parent f091d3a732
commit 39a882c4a1
+1 -1
View File
@@ -259,7 +259,7 @@ impl Service {
/// deactivated) account on this homeserver. /// deactivated) account on this homeserver.
#[inline] #[inline]
pub async fn exists(&self, user_id: &UserId) -> bool { pub async fn exists(&self, user_id: &UserId) -> bool {
self.services.globals.user_is_local(&user_id) self.services.globals.user_is_local(user_id)
&& self.db.userid_password.get(user_id).await.is_ok() && self.db.userid_password.get(user_id).await.is_ok()
} }