Ensure ESC removes quoted reply when drafting
This commit is contained in:
parent
fd9e3ea7e0
commit
19f7bff8a3
5 changed files with 31 additions and 30 deletions
8
ts/model-types.d.ts
vendored
8
ts/model-types.d.ts
vendored
|
@ -38,6 +38,7 @@ import type { AnyPaymentEvent } from './types/Payment';
|
|||
import AccessRequiredEnum = Proto.AccessControl.AccessRequired;
|
||||
import MemberRoleEnum = Proto.Member.Role;
|
||||
import type { MessageRequestResponseEvent } from './types/MessageRequestResponseEvent';
|
||||
import type { QuotedMessageForComposerType } from './state/ducks/composer';
|
||||
|
||||
export type LastMessageStatus =
|
||||
| 'paused'
|
||||
|
@ -97,10 +98,11 @@ export type QuotedMessageType = {
|
|||
id: number | null;
|
||||
isGiftBadge?: boolean;
|
||||
isViewOnce: boolean;
|
||||
// `messageId` is deprecated
|
||||
messageId?: string;
|
||||
referencedMessageNotFound: boolean;
|
||||
text?: string;
|
||||
/** @deprecated `messageId` is used only in composer state, but still may exist in DB
|
||||
* records, particularly for messages sent from this device */
|
||||
messageId?: string;
|
||||
};
|
||||
|
||||
type StoryReplyContextType = {
|
||||
|
@ -324,7 +326,7 @@ export type DraftEditMessageType = {
|
|||
body: string;
|
||||
preview?: LinkPreviewType;
|
||||
targetMessageId: string;
|
||||
quote?: QuotedMessageType;
|
||||
quote?: QuotedMessageForComposerType['quote'];
|
||||
};
|
||||
|
||||
export type ConversationAttributesType = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue