From 3dd5bab7b66e2254f8e6b48be04fbc2fc46d0793 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 26 Dec 2023 15:37:08 +0100 Subject: [PATCH] Cleanup --- .../features/messages/impl/actionlist/ActionListPresenter.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 d3a4d44246..9547d57ff7 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 @@ -172,8 +172,8 @@ class ActionListPresenter @Inject constructor( } } val displayEmojiReactions = userCanSendReaction && - timelineItem.isRemote - && timelineItem.content.canReact() + timelineItem.isRemote && + timelineItem.content.canReact() if (actions.isNotEmpty() || displayEmojiReactions) { target.value = ActionListState.Target.Success( event = timelineItem,