mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Add import and tombstones for mobile coin payments.
This commit is contained in:
@@ -85,6 +85,7 @@ object MessageConstraintsUtil {
|
||||
!message.isRemoteDelete &&
|
||||
!message.hasGiftBadge() &&
|
||||
!message.isPaymentNotification &&
|
||||
!message.isPaymentTombstone &&
|
||||
(currentTime - message.dateSent < SEND_THRESHOLD || message.toRecipient.isSelf)
|
||||
}
|
||||
|
||||
|
||||
@@ -139,7 +139,8 @@ fun MessageRecord.isTextOnly(context: Context): Boolean {
|
||||
!hasSticker() &&
|
||||
!isCaptionlessMms(context) &&
|
||||
!hasGiftBadge() &&
|
||||
!isPaymentNotification()
|
||||
!isPaymentNotification &&
|
||||
!isPaymentTombstone
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user