Merge pull request #4627 from nextcloud/feature/4570/rework-can-leave-delete-conversation

Rework can leave/delete conversation
This commit is contained in:
Marcel Hibbe 2025-01-22 16:49:31 +00:00 committed by GitHub
commit b172f68cd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -782,7 +782,7 @@ class ConversationInfoActivity :
if (CapabilitiesUtil.hasSpreedFeatureCapability( if (CapabilitiesUtil.hasSpreedFeatureCapability(
spreedCapabilities, spreedCapabilities,
SpreedFeatures.CLEAR_HISTORY SpreedFeatures.CLEAR_HISTORY
) ) && conversationCopy.canDeleteConversation
) { ) {
binding.clearConversationHistory.visibility = VISIBLE binding.clearConversationHistory.visibility = VISIBLE
} else { } else {