mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-14 23:18:43 +00:00
Make logging more accurate.
This commit is contained in:
committed by
Michelle Tang
parent
98580e6a6b
commit
73ea50d162
@@ -217,8 +217,12 @@ class CopyAttachmentToArchiveJob private constructor(private val attachmentId: A
|
||||
ArchiveDatabaseExecutor.throttledNotifyAttachmentObservers()
|
||||
}
|
||||
|
||||
if (!isCanceled && !attachment.quote) {
|
||||
ArchiveThumbnailUploadJob.enqueueIfNecessary(attachmentId)
|
||||
if (!isCanceled) {
|
||||
if (!attachment.quote) {
|
||||
ArchiveThumbnailUploadJob.enqueueIfNecessary(attachmentId)
|
||||
} else {
|
||||
Log.d(TAG, "[$attachmentId] Refusing to enqueue thumb for quote attachment.")
|
||||
}
|
||||
} else {
|
||||
Log.d(TAG, "[$attachmentId] Refusing to enqueue thumb for canceled upload.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user