Show attachment download progress, new stop button to cancel
Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
parent
025841e5bb
commit
2741fbb5d2
78 changed files with 2192 additions and 562 deletions
|
@ -66,7 +66,10 @@ export async function flushAttachmentDownloadQueue(): Promise<void> {
|
|||
let numMessagesQueued = 0;
|
||||
await Promise.all(
|
||||
messageIdsToDownload.map(async messageId => {
|
||||
const message = window.MessageCache.__DEPRECATED$getById(messageId);
|
||||
const message = window.MessageCache.__DEPRECATED$getById(
|
||||
messageId,
|
||||
'flushAttachmentDownloadQueue'
|
||||
);
|
||||
if (!message) {
|
||||
log.warn(
|
||||
'attachmentDownloadQueue: message not found in messageCache, maybe it was deleted?'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue