fix: Inverted check

This commit is contained in:
timedout committed 2026-10-02 18:10:17 +01:00
1 parent 7243c92dbc
commit 63294f8775
1 file changed
+2 -2
+2 -2
View File
@@ -114,8 +114,8 @@ pub async fn invite_filter_level(
}
// Apply other layers of invite blocking first, so that user/server
// denies take priority over implicit allows.
if content.default_action != Some(InvitePermissionAction::DenyPublic)
&& self
if content.default_action == Some(InvitePermissionAction::DenyPublic)
&& !self
.check_msc4494_mutual_room(sender_user, recipient_user)
.await
{