mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-14 23:18:43 +00:00
Ensure that we mark attachments restored from the archive as FINISHED.
This commit is contained in:
@@ -1677,6 +1677,10 @@ class AttachmentTable(
|
||||
values.put(DATA_RANDOM, fileWriteResult.random)
|
||||
values.put(DATA_HASH_START, fileWriteResult.hash)
|
||||
values.put(DATA_HASH_END, fileWriteResult.hash)
|
||||
|
||||
if (archiveRestore) {
|
||||
values.put(ARCHIVE_TRANSFER_STATE, ArchiveTransferState.FINISHED.value)
|
||||
}
|
||||
}
|
||||
|
||||
val visualHashString = existingPlaceholder.getVisualHashStringOrNull()
|
||||
|
||||
Reference in New Issue
Block a user