Composer: Fix draft clearing after sending sticker (#4618)

This commit is contained in:
Alexander Zinchuk 2024-06-12 18:10:45 +02:00
parent a77e9bfd8a
commit 8182987d48

View File

@ -1165,6 +1165,7 @@ const Composer: FC<OwnProps & StateProps> = ({
isSilent,
shouldUpdateStickerSetOrder: shouldUpdateStickerSetOrder && canUpdateStickerSetsOrder,
});
clearDraft({ chatId, isLocalOnly: true });
requestMeasure(() => {
resetComposer(shouldPreserveInput);
});