fix: Invert boolean returned by policy server check

This commit is contained in:
timedout committed 2026-07-11 17:27:42 +01:00
1 parent e16a62e1ed
commit 2fbb779d12
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| {