mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 14:27:24 +00:00
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
2b1a16415c
commit
d80200906d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user