mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-10-23 16:02:27 +00:00
fix: Invert boolean returned by policy server check
This commit is contained in:
1 file changed
+1
-1
@@ -134,7 +134,7 @@ pub(super) async fn upgrade_outlier_to_timeline_pdu(
|
||||
// We explicitly only do this if we aren't already going to soft-fail the event,
|
||||
// since the policy server refusing this event also soft-fails it.
|
||||
debug!(event_id = %incoming_pdu.event_id, "Checking policy server for event");
|
||||
should_soft_fail = self
|
||||
should_soft_fail = !self
|
||||
.policy_server_check_7(&incoming_pdu, &mut val, &room_version_rules)
|
||||
.await
|
||||
.inspect(|passes| {
|
||||
|
||||
Reference in new issue
Block a user