Fix various backup import-export inconsistencies.

This commit is contained in:
Greyson Parrelli
2024-09-20 21:14:08 -04:00
parent a10958ee13
commit 90998a4076
21 changed files with 257 additions and 196 deletions

View File

@@ -48,6 +48,7 @@ class TombstoneAttachment : Attachment {
width: Int?,
height: Int?,
caption: String?,
fileName: String? = null,
blurHash: String?,
voiceNote: Boolean = false,
borderless: Boolean = false,
@@ -59,7 +60,7 @@ class TombstoneAttachment : Attachment {
quote = quote,
transferState = AttachmentTable.TRANSFER_PROGRESS_PERMANENT_FAILURE,
size = 0,
fileName = null,
fileName = fileName,
cdn = Cdn.CDN_0,
remoteLocation = null,
remoteKey = null,