fix to hide moderation actions

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>

[skip ci]
This commit is contained in:
Marcel Hibbe 2024-03-25 16:55:49 +01:00 committed by backportbot[bot]
parent e940234863
commit e137b34dcb

View file

@ -1181,7 +1181,7 @@ class ConversationInfoActivity :
@SuppressLint("CheckResult") @SuppressLint("CheckResult")
override fun onItemClick(view: View?, position: Int): Boolean { override fun onItemClick(view: View?, position: Int): Boolean {
if (ConversationUtils.canModerate(conversation!!, spreedCapabilities)) { if (!ConversationUtils.canModerate(conversation!!, spreedCapabilities)) {
return true return true
} }