make sure that canDeleteConversation is used to determine if "Delete all message" is shown.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2025-01-17 11:52:33 +01:00
parent 86db9f78c2
commit 35f9e339c9
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

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