Update backup integration tests.

This commit is contained in:
Greyson Parrelli
2024-11-21 12:29:31 -05:00
parent f5a68aa7ae
commit b7464ffca9
73 changed files with 11 additions and 1 deletions

View File

@@ -394,7 +394,7 @@ private fun BackupMessageRecord.toBasicChatItemBuilder(selfRecipientId: Recipien
expiresInMs = if (record.expiresIn > 0) record.expiresIn else 0
revisions = emptyList()
sms = record.type.isSmsType()
if (record.type.isDirectionlessType()) {
if (record.type.isDirectionlessType() || record.messageExtras?.gv2UpdateDescription != null) {
directionless = ChatItem.DirectionlessMessageDetails()
} else if (MessageTypes.isOutgoingMessageType(record.type) || record.fromRecipientId == selfRecipientId.toLong()) {
outgoing = ChatItem.OutgoingMessageDetails(