fix soft-failed redaction regression (ff8bbd4cfa)

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-02-04 20:30:33 +00:00
parent b3271e0d65
commit d32534164c

View file

@ -128,7 +128,8 @@ pub(super) async fn upgrade_outlier_to_timeline_pdu(
| (false, _) => true,
| (true, None) => false,
| (true, Some(redact_id)) =>
self.services
!self
.services
.state_accessor
.user_can_redact(&redact_id, &incoming_pdu.sender, &incoming_pdu.room_id, true)
.await?,