mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-10-23 00:51:20 +00:00
fix: Inverted check
This commit is contained in:
1 file changed
+2
-2
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user