Support for retry when sending media
This commit is contained in:
parent
881270f149
commit
ce6398685f
7 changed files with 69 additions and 34 deletions
|
|
@ -39,7 +39,6 @@ export type AttachmentSendInfo = {
|
|||
randomRotation: number; // For UI effects
|
||||
randomTranslationX: number; // For UI effects
|
||||
randomTranslationY: number; // For UI effects
|
||||
proofHintFlags?: ProofHintFlags;
|
||||
};
|
||||
|
||||
export type AttachmentThumbnail = {
|
||||
|
|
@ -59,6 +58,7 @@ export type Attachment = {
|
|||
useScaled: boolean;
|
||||
src?: string;
|
||||
proof?: Proof;
|
||||
proofHintFlags?: ProofHintFlags;
|
||||
thumbnail?: AttachmentThumbnail;
|
||||
sendInfo: AttachmentSendInfo;
|
||||
};
|
||||
|
|
@ -66,6 +66,7 @@ export type Attachment = {
|
|||
export type AttachmentBatch = {
|
||||
sendingStatus: Ref<AttachmentSendStatus>;
|
||||
sendingRootEventId: Ref<string | undefined>;
|
||||
sendingRootMessage: Ref<string | undefined>;
|
||||
progressPercent: Ref<number>;
|
||||
attachments: Attachment[];
|
||||
attachmentsSentCount: ComputedRef<number>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue