fix: Correctly check for local users' existence

This commit is contained in:
Ginger committed 2026-05-08 11:48:20 -04:00
1 parent ebf9a08cd1
commit f091d3a732
3 files changed
+6 -7

No files matched your search

-4
View File
@@ -102,10 +102,6 @@ pub(super) async fn remote_user_in_rooms(&self, user_id: OwnedUserId) -> Result
);
}
if !self.services.users.exists(&user_id).await {
return Err!("Remote user does not exist in our database.",);
}
let mut rooms: Vec<(OwnedRoomId, u64, String)> = self
.services
.rooms