mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Update quote behavior in backups
This commit is contained in:
8
ts/model-types.d.ts
vendored
8
ts/model-types.d.ts
vendored
@@ -85,7 +85,6 @@ export type QuotedAttachmentType = {
|
||||
};
|
||||
|
||||
export type QuotedMessageType = {
|
||||
// TODO DESKTOP-3826
|
||||
attachments: ReadonlyArray<QuotedAttachmentType>;
|
||||
payment?: AnyPaymentEvent;
|
||||
// `author` is an old attribute that holds the author's E164. We shouldn't use it for
|
||||
@@ -93,10 +92,13 @@ export type QuotedMessageType = {
|
||||
author?: string;
|
||||
authorAci?: AciString;
|
||||
bodyRanges?: ReadonlyArray<RawBodyRange>;
|
||||
id: number;
|
||||
// id can be null if the referenced message was not found and we imported this quote
|
||||
// from backup
|
||||
id: number | null;
|
||||
isGiftBadge?: boolean;
|
||||
isViewOnce: boolean;
|
||||
messageId: string;
|
||||
// `messageId` is deprecated
|
||||
messageId?: string;
|
||||
referencedMessageNotFound: boolean;
|
||||
text?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user