Fixed draft removal upon sending a sticker

Fixed draft removal upon sending a sticker
This commit is contained in:
lamemakes 2023-03-02 23:49:16 -05:00 committed by Josh Perez
parent 546be943ee
commit db297a4c63

View file

@ -3981,11 +3981,14 @@ export class ConversationModel extends window.Backbone
}; };
drop( drop(
this.enqueueMessageForSend({ this.enqueueMessageForSend(
{
body: undefined, body: undefined,
attachments: [], attachments: [],
sticker, sticker,
}) },
{ dontClearDraft: true }
)
); );
window.reduxActions.stickers.useSticker(packId, stickerId); window.reduxActions.stickers.useSticker(packId, stickerId);
} }