fix: Fix join rule evaluation for servers again

Reviewed-by: timedout <git@nexy7574.co.uk>
Reviewed-by: Jade Ellis <jade@ellis.link>
This commit is contained in:
Ginger committed 2026-11-04 12:24:51 -05:00
1 parent d2eeae34a9
commit 34c5787af0
1 file changed
+3 -3
+3 -3
View File
@@ -901,7 +901,7 @@ impl Service {
.server_in_room(self.services.globals.server_name(), condition_room)
.await
{
let is_joined = match entity {
let is_joined_to_condition_room = match entity {
| JoinConditionEntity::User(user_id) =>
self.services
.state_cache
@@ -910,11 +910,11 @@ impl Service {
| JoinConditionEntity::Server(server) =>
self.services
.state_cache
.server_in_room(server, room_id)
.server_in_room(server, condition_room)
.await,
};
if is_joined {
if is_joined_to_condition_room {
debug!(
?entity,
?room_id,