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(
this.enqueueMessageForSend({
body: undefined,
attachments: [],
sticker,
})
this.enqueueMessageForSend(
{
body: undefined,
attachments: [],
sticker,
},
{ dontClearDraft: true }
)
);
window.reduxActions.stickers.useSticker(packId, stickerId);
}