From d80200906d45c8bd69bde92abf71e8d791fd0927 Mon Sep 17 00:00:00 2001 From: sowjanyakch Date: Tue, 12 Mar 2024 18:43:38 +0100 Subject: [PATCH] ktlintFormat Signed-off-by: sowjanyakch --- app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt b/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt index 136b2714d..bfbb0ee3b 100644 --- a/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt @@ -4692,8 +4692,10 @@ class ChatActivity : val isOlderThanSixHours = message .createdAt .before(Date(System.currentTimeMillis() - AGE_THRESHOLD_FOR_DELETE_MESSAGE)) - val hasDeleteMessagesUnlimitedCapability = CapabilitiesUtil.hasSpreedFeatureCapability(spreedCapabilities, - SpreedFeatures.DELETE_MESSAGES_UNLIMITED) + val hasDeleteMessagesUnlimitedCapability = CapabilitiesUtil.hasSpreedFeatureCapability( + spreedCapabilities, + SpreedFeatures.DELETE_MESSAGES_UNLIMITED + ) return when { !isUserAllowedByPrivileges -> false