On send, pull data from target edit if sending edit

This commit is contained in:
Scott Nonnenberg
2023-11-17 10:16:48 -08:00
committed by GitHub
parent 146b562c91
commit 48245eeea6
12 changed files with 529 additions and 135 deletions

2
ts/model-types.d.ts vendored
View File

@@ -113,6 +113,8 @@ export type MessageReactionType = {
isSentByConversationId?: Record<string, boolean>;
};
// Note: when adding to the set of things that can change via edits, sendNormalMessage.ts
// needs more usage of get/setPropForTimestamp.
export type EditHistoryType = {
attachments?: Array<AttachmentType>;
body?: string;