Fix various archive related attachment bugs.

Co-authored-by: Greyson Parrelli <greyson@signal.org>
This commit is contained in:
Cody Henthorne
2025-05-29 11:34:09 -04:00
committed by GitHub
parent 4b41d7afaa
commit 7b30ac1524
10 changed files with 86 additions and 30 deletions

View File

@@ -35,7 +35,7 @@ public final class WallpaperStorage {
AttachmentId attachmentId = SignalDatabase.attachments().insertWallpaper(wallpaperStream);
if (SignalStore.backup().backsUpMedia()) {
AppDependencies.getJobManager().add(new UploadAttachmentToArchiveJob(attachmentId));
AppDependencies.getJobManager().add(new UploadAttachmentToArchiveJob(attachmentId, true));
}
return ChatWallpaperFactory.create(PartAuthority.getAttachmentDataUri(attachmentId));