fix: Miscellaneous fixes

This commit is contained in:
Ginger committed 2026-07-02 16:34:38 -04:00
1 parent f66c1d8f35
commit 3282ba8eab
4 files changed
+15 -18

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ use ruma::{OwnedUserId, UserId};
impl super::Service {
/// Record the existence of a remote user.
pub fn record_remote_user(&self, user_id: &UserId) {
assert!(self.services.globals.user_is_local(user_id), "user is not remote");
assert!(!self.services.globals.user_is_local(user_id), "user is not remote");
self.db.remoteuserid_remoteuser.insert(user_id, "");
}