File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
SignalServiceKit/MessageBackup/Attachments Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,11 @@ public class BackupAttachmentDownloadManagerImpl: BackupAttachmentDownloadManage
191191
192192 public func restoreAttachmentsIfNeeded( ) async throws {
193193 guard appContext. isMainApp else { return }
194+
195+ if FeatureFlags . MessageBackup. remoteExportAlpha {
196+ try await listMediaManager. queryListMediaIfNeeded ( )
197+ }
198+
194199 switch await statusManager. beginObservingIfNeeded ( type: . download) {
195200 case . running:
196201 break
@@ -213,9 +218,6 @@ public class BackupAttachmentDownloadManagerImpl: BackupAttachmentDownloadManage
213218 try await taskQueue. stop ( )
214219 return
215220 }
216- if FeatureFlags . MessageBackup. remoteExportAlpha {
217- try await listMediaManager. queryListMediaIfNeeded ( )
218- }
219221 do {
220222 try await progress. beginObserving ( )
221223 } catch {
You can’t perform that action at this time.
0 commit comments