Fix SMS attachment exports for local and plaintext archive.

This commit is contained in:
Cody Henthorne
2026-09-15 18:26:04 -04:00
committed by Greyson Parrelli
parent 5a43ddf03e
commit ce5a5b58ee
2 changed files with 2 additions and 0 deletions
@@ -91,6 +91,7 @@ class LocalArchiveJob internal constructor(parameters: Parameters) : Job(paramet
stopwatch.split("create-snapshot")
try {
SignalDatabase.attachments.createRemoteKeyForAttachmentsThatNeedArchiveUpload()
SignalDatabase.attachmentMetadata.insertNewKeysForExistingAttachments()
val progressScope = CoroutineScope(SupervisorJob() + Dispatchers.Default)
@@ -108,6 +108,7 @@ class LocalPlaintextArchiveJob internal constructor(
stopwatch.split("create-dir")
try {
SignalDatabase.attachments.createRemoteKeyForAttachmentsThatNeedArchiveUpload()
SignalDatabase.attachmentMetadata.insertNewKeysForExistingAttachments()
val progressScope = CoroutineScope(SupervisorJob() + Dispatchers.Default)