2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fixed update of recently attached stickers after sending.

This commit is contained in:
23rd
2021-03-31 00:00:48 +03:00
parent de108c8efe
commit 7cd6b821b3
5 changed files with 28 additions and 1 deletions

View File

@@ -110,7 +110,6 @@ rpl::producer<uint64> Stickers::stickerSetInstalled() const {
return _stickerSetInstalled.events();
}
// Increment attached sticker.
void Stickers::incrementSticker(not_null<DocumentData*> document) {
if (!document->sticker()
|| document->sticker()->set.type() == mtpc_inputStickerSetEmpty) {