Fixed draft removal upon sending a sticker
Fixed draft removal upon sending a sticker
This commit is contained in:
parent
546be943ee
commit
db297a4c63
1 changed files with 8 additions and 5 deletions
|
@ -3981,11 +3981,14 @@ export class ConversationModel extends window.Backbone
|
||||||
};
|
};
|
||||||
|
|
||||||
drop(
|
drop(
|
||||||
this.enqueueMessageForSend({
|
this.enqueueMessageForSend(
|
||||||
body: undefined,
|
{
|
||||||
attachments: [],
|
body: undefined,
|
||||||
sticker,
|
attachments: [],
|
||||||
})
|
sticker,
|
||||||
|
},
|
||||||
|
{ dontClearDraft: true }
|
||||||
|
)
|
||||||
);
|
);
|
||||||
window.reduxActions.stickers.useSticker(packId, stickerId);
|
window.reduxActions.stickers.useSticker(packId, stickerId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue