mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-18 05:01:28 +00:00
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:
parent
86db9f78c2
commit
35f9e339c9
@ -782,7 +782,7 @@ class ConversationInfoActivity :
|
||||
if (CapabilitiesUtil.hasSpreedFeatureCapability(
|
||||
spreedCapabilities,
|
||||
SpreedFeatures.CLEAR_HISTORY
|
||||
)
|
||||
) && conversationCopy.canDeleteConversation
|
||||
) {
|
||||
binding.clearConversationHistory.visibility = VISIBLE
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user