mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-14 23:18:43 +00:00
Enqueue another backup after uploading new media.
This commit is contained in:
committed by
jeffrey-signal
parent
a7f239576f
commit
5fa5a98b87
@@ -83,6 +83,10 @@ object ArchiveUploadProgress {
|
||||
if (pendingMediaUploadBytes <= 0) {
|
||||
Log.i(TAG, "No more pending bytes. Done!")
|
||||
Log.d(TAG, "Upload finished! " + buildDebugStats(debugAttachmentStartTime, debugTotalAttachments.get(), debugTotalBytes.get()))
|
||||
if (uploadProgress.mediaTotalBytes > 0) {
|
||||
Log.i(TAG, "We uploaded media as part of the backup. We should enqueue another backup now to ensure that CDN info is properly written.")
|
||||
BackupMessagesJob.enqueue()
|
||||
}
|
||||
return@map PROGRESS_NONE
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user