mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2025-03-14 18:55:37 +00:00
fix soft-failed redaction regression (ff8bbd4cfa
)
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
b3271e0d65
commit
d32534164c
1 changed files with 2 additions and 1 deletions
|
@ -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?,
|
||||
|
|
Loading…
Add table
Reference in a new issue