Redaction reason (#6098)

This commit is contained in:
Mauro
2026-09-07 18:57:05 +02:00
committed by GitHub
parent 350d47c94a
commit 346a1e8ebb
35 changed files with 381 additions and 57 deletions
@@ -74,9 +74,9 @@ struct TimelineControllerMockConfiguration {
_ = await timelineProxy.toggleReaction(reaction, to: eventOrTransactionID)
}
redactClosure = { [timelineProxy] eventOrTransactionID in
redactReasonClosure = { [timelineProxy] eventOrTransactionID, reason in
guard let timelineProxy else { return }
_ = await timelineProxy.redact(eventOrTransactionID, reason: nil)
_ = await timelineProxy.redact(eventOrTransactionID, reason: reason)
}
editMessageHtmlIntentionalMentionsClosure = { [weak self] _, message, _, _ in