mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Show attachment download progress, new stop button to cancel
Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
@@ -1328,6 +1328,7 @@ export type WebAPIType = {
|
||||
disableRetries?: boolean;
|
||||
timeout?: number;
|
||||
downloadOffset?: number;
|
||||
abortSignal: AbortSignal;
|
||||
};
|
||||
}) => Promise<Readable>;
|
||||
getAttachment: (args: {
|
||||
@@ -1337,6 +1338,7 @@ export type WebAPIType = {
|
||||
disableRetries?: boolean;
|
||||
timeout?: number;
|
||||
downloadOffset?: number;
|
||||
abortSignal?: AbortSignal;
|
||||
};
|
||||
}) => Promise<Readable>;
|
||||
getAttachmentUploadForm: () => Promise<AttachmentUploadFormResponseType>;
|
||||
@@ -3784,6 +3786,7 @@ export function initialize({
|
||||
disableRetries?: boolean;
|
||||
timeout?: number;
|
||||
downloadOffset?: number;
|
||||
abortSignal?: AbortSignal;
|
||||
};
|
||||
}) {
|
||||
return _getAttachment({
|
||||
|
||||
Reference in New Issue
Block a user