mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01: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(
|
if (CapabilitiesUtil.hasSpreedFeatureCapability(
|
||||||
spreedCapabilities,
|
spreedCapabilities,
|
||||||
SpreedFeatures.CLEAR_HISTORY
|
SpreedFeatures.CLEAR_HISTORY
|
||||||
)
|
) && conversationCopy.canDeleteConversation
|
||||||
) {
|
) {
|
||||||
binding.clearConversationHistory.visibility = VISIBLE
|
binding.clearConversationHistory.visibility = VISIBLE
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user