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
|
@ -14,13 +14,13 @@ export async function addAttachmentToMessage(
|
|||
jobLogId: string,
|
||||
{ type }: { type: AttachmentDownloadJobTypeType }
|
||||
): Promise<void> {
|
||||
const message = await __DEPRECATED$getMessageById(messageId);
|
||||
const logPrefix = `${jobLogId}/addAttachmentToMessage`;
|
||||
const message = await __DEPRECATED$getMessageById(messageId, logPrefix);
|
||||
|
||||
if (!message) {
|
||||
return;
|
||||
}
|
||||
|
||||
const logPrefix = `${jobLogId}/addAttachmentToMessage`;
|
||||
const attachmentSignature = getAttachmentSignature(attachment);
|
||||
|
||||
if (type === 'long-message') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue