mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Allow redacted messages to be viewed and unpinned (#3251)
This commit is contained in:
@@ -81,7 +81,7 @@ enum TimelineItemMenuAction: Identifiable, Hashable {
|
|||||||
/// Whether the action should be shown for a redacted item.
|
/// Whether the action should be shown for a redacted item.
|
||||||
var canAppearInRedacted: Bool {
|
var canAppearInRedacted: Bool {
|
||||||
switch self {
|
switch self {
|
||||||
case .viewSource:
|
case .viewSource, .unpin, .viewInRoomTimeline:
|
||||||
return true
|
return true
|
||||||
default:
|
default:
|
||||||
return false
|
return false
|
||||||
|
|||||||
Reference in New Issue
Block a user