Fix outgoing disappearing message export oddity check.

This commit is contained in:
Cody Henthorne
2025-09-30 11:16:17 -04:00
committed by Michelle Tang
parent 5f3b4056e9
commit 51897bb74f

View File

@@ -549,7 +549,7 @@ private fun BackupMessageRecord.toBasicChatItemBuilder(selfRecipientId: Recipien
dateReceived = dateReceived
)
if (expiresInMs != null && outgoing?.sendStatus?.all { it.pending == null && it.failed == null } == true) {
if (expiresInMs != null && outgoing?.sendStatus?.all { it.pending == null && it.failed == null } == true && expireStartDate == null) {
Log.w(TAG, ExportOddities.outgoingMessageWasSentButTimerNotStarted(record.dateSent))
expireStartDate = record.dateReceived
}