From fb743a98a352fa553d701fbc8ea7bb93f1560cdb Mon Sep 17 00:00:00 2001 From: Marco Antonio Alvarez Date: Thu, 4 Jan 2024 13:57:16 +0100 Subject: [PATCH] add comment about sticker forwarding being disabled Signed-off-by: Marco Antonio Alvarez --- .../features/messages/impl/actionlist/ActionListPresenter.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/ActionListPresenter.kt b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/ActionListPresenter.kt index b4e9bdb88f..591bbc166c 100644 --- a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/ActionListPresenter.kt +++ b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/ActionListPresenter.kt @@ -152,6 +152,8 @@ class ActionListPresenter @Inject constructor( add(TimelineItemAction.Reply) } } + // Stickers can't be forwarded (yet) so we don't show the option + // See https://github.com/element-hq/element-x-android/issues/2161 if (!timelineItem.isSticker) { add(TimelineItemAction.Forward) }