Allow backfill for more undownloadable attachments
This commit is contained in:
parent
d69887a4f9
commit
427f91f903
8 changed files with 98 additions and 49 deletions
|
@ -595,17 +595,18 @@ export type AttachmentBackfillAttachmentType = Readonly<
|
|||
>;
|
||||
|
||||
export type AttachmentBackfillResponseSyncEventData = Readonly<
|
||||
| {
|
||||
error: Proto.SyncMessage.AttachmentBackfillResponse.Error;
|
||||
targetMessage?: AddressableMessage;
|
||||
targetConversation?: ConversationIdentifier;
|
||||
}
|
||||
| {
|
||||
attachments: ReadonlyArray<AttachmentBackfillAttachmentType>;
|
||||
longText: AttachmentBackfillAttachmentType | undefined;
|
||||
targetMessage: AddressableMessage;
|
||||
targetConversation: ConversationIdentifier;
|
||||
}
|
||||
{
|
||||
targetMessage: AddressableMessage;
|
||||
targetConversation: ConversationIdentifier;
|
||||
} & (
|
||||
| {
|
||||
error: Proto.SyncMessage.AttachmentBackfillResponse.Error;
|
||||
}
|
||||
| {
|
||||
attachments: ReadonlyArray<AttachmentBackfillAttachmentType>;
|
||||
longText: AttachmentBackfillAttachmentType | undefined;
|
||||
}
|
||||
)
|
||||
>;
|
||||
|
||||
export class AttachmentBackfillResponseSyncEvent extends ConfirmableEvent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue