Enable more specific AttachmentDownload prioritization
This commit is contained in:
parent
87ea909ae9
commit
fc02762588
26 changed files with 2245 additions and 817 deletions
|
@ -96,6 +96,8 @@ export async function downloadAttachmentV2(
|
|||
strictAssert(key, `${logId}: missing key`);
|
||||
strictAssert(isNumber(size), `${logId}: missing size`);
|
||||
|
||||
// TODO (DESKTOP-6845): download attachments differentially based on their
|
||||
// media tier (i.e. transit tier or backup tier)
|
||||
const downloadStream = await server.getAttachmentV2(
|
||||
cdn,
|
||||
dropNull(cdnNumber),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue