Remove archive_transfer_file column.

This commit is contained in:
Greyson Parrelli
2025-06-24 09:28:44 -04:00
committed by Cody Henthorne
parent 03dc014c08
commit b1063f69f9
5 changed files with 27 additions and 44 deletions

View File

@@ -75,7 +75,7 @@ class PartDataSource implements DataSource {
final byte[] decodedKey = Base64.decode(attachmentKey);
if (attachment.transferState == AttachmentTable.TRANSFER_RESTORE_IN_PROGRESS && attachment.archiveTransferState == AttachmentTable.ArchiveTransferState.FINISHED) {
final File archiveFile = attachmentDatabase.getOrCreateArchiveTransferFile(attachment.attachmentId);
final File archiveFile = attachmentDatabase.getOrCreateTransferFile(attachment.attachmentId);
try {
String mediaName = DatabaseAttachmentArchiveUtil.requireMediaNameAsString(attachment);
String mediaId = MediaName.toMediaIdString(mediaName, SignalStore.backup().getMediaRootBackupKey());