refactor: Replace remaining std RwLocks

This commit is contained in:
Jade Ellis
2025-07-19 22:20:26 +01:00
parent 374fb2745c
commit 6d29098d1a
11 changed files with 32 additions and 90 deletions
+1 -4
View File
@@ -211,10 +211,7 @@ pub async fn update_joined_count(&self, room_id: &RoomId) {
self.db.serverroomids.put_raw(serverroom_id, []);
}
self.appservice_in_room_cache
.write()
.expect("locked")
.remove(room_id);
self.appservice_in_room_cache.write().remove(room_id);
}
/// Direct DB function to directly mark a user as joined. It is not