mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 22:29:09 +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
|
val isOlderThanSixHours = message
|
||||||
.createdAt
|
.createdAt
|
||||||
.before(Date(System.currentTimeMillis() - AGE_THRESHOLD_FOR_DELETE_MESSAGE))
|
.before(Date(System.currentTimeMillis() - AGE_THRESHOLD_FOR_DELETE_MESSAGE))
|
||||||
val hasDeleteMessagesUnlimitedCapability = CapabilitiesUtil.hasSpreedFeatureCapability(spreedCapabilities,
|
val hasDeleteMessagesUnlimitedCapability = CapabilitiesUtil.hasSpreedFeatureCapability(
|
||||||
SpreedFeatures.DELETE_MESSAGES_UNLIMITED)
|
spreedCapabilities,
|
||||||
|
SpreedFeatures.DELETE_MESSAGES_UNLIMITED
|
||||||
|
)
|
||||||
|
|
||||||
return when {
|
return when {
|
||||||
!isUserAllowedByPrivileges -> false
|
!isUserAllowedByPrivileges -> false
|
||||||
|
Loading…
Reference in New Issue
Block a user