From db297a4c63bc7e6d5a8f054750fb9699e6d7dbdc Mon Sep 17 00:00:00 2001 From: lamemakes Date: Thu, 2 Mar 2023 23:49:16 -0500 Subject: [PATCH] Fixed draft removal upon sending a sticker Fixed draft removal upon sending a sticker --- ts/models/conversations.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ts/models/conversations.ts b/ts/models/conversations.ts index f7d303784..3f0fd630f 100644 --- a/ts/models/conversations.ts +++ b/ts/models/conversations.ts @@ -3981,11 +3981,14 @@ export class ConversationModel extends window.Backbone }; drop( - this.enqueueMessageForSend({ - body: undefined, - attachments: [], - sticker, - }) + this.enqueueMessageForSend( + { + body: undefined, + attachments: [], + sticker, + }, + { dontClearDraft: true } + ) ); window.reduxActions.stickers.useSticker(packId, stickerId); }