From e137b34dcb3adafa770f555b31e777f59bffcad9 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Mon, 25 Mar 2024 16:55:49 +0100 Subject: [PATCH] fix to hide moderation actions Signed-off-by: Marcel Hibbe [skip ci] --- .../nextcloud/talk/conversationinfo/ConversationInfoActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/nextcloud/talk/conversationinfo/ConversationInfoActivity.kt b/app/src/main/java/com/nextcloud/talk/conversationinfo/ConversationInfoActivity.kt index 07336e9dc..91b70da7c 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationinfo/ConversationInfoActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationinfo/ConversationInfoActivity.kt @@ -1181,7 +1181,7 @@ class ConversationInfoActivity : @SuppressLint("CheckResult") override fun onItemClick(view: View?, position: Int): Boolean { - if (ConversationUtils.canModerate(conversation!!, spreedCapabilities)) { + if (!ConversationUtils.canModerate(conversation!!, spreedCapabilities)) { return true }