From 3d56166da0a0ed983a148d34290a87d4e0affc33 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Fri, 30 Jan 2026 14:27:45 +0200 Subject: [PATCH] Allow redacting the collocutor's messages in DMs (again) This reverts https://github.com/element-hq/element-x-ios/pull/2368 as the behavior didn't make it to any of our other clients. --- .../Timeline/View/ItemMenu/TimelineItemMenuActionProvider.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/Screens/Timeline/View/ItemMenu/TimelineItemMenuActionProvider.swift b/ElementX/Sources/Screens/Timeline/View/ItemMenu/TimelineItemMenuActionProvider.swift index d9a2a438d..9f6cfec6b 100644 --- a/ElementX/Sources/Screens/Timeline/View/ItemMenu/TimelineItemMenuActionProvider.swift +++ b/ElementX/Sources/Screens/Timeline/View/ItemMenu/TimelineItemMenuActionProvider.swift @@ -159,6 +159,6 @@ struct TimelineItemMenuActionProvider { } private func canRedactItem(_ item: EventBasedTimelineItemProtocol) -> Bool { - item.isOutgoing ? canCurrentUserRedactSelf : canCurrentUserRedactOthers && !isDM + item.isOutgoing ? canCurrentUserRedactSelf : canCurrentUserRedactOthers } }