diff --git a/td/telegram/DocumentsManager.cpp b/td/telegram/DocumentsManager.cpp index 7fa639225..abff5edd0 100644 --- a/td/telegram/DocumentsManager.cpp +++ b/td/telegram/DocumentsManager.cpp @@ -125,6 +125,11 @@ Document DocumentsManager::on_get_document(RemoteDocument remote_document, Dialo if ((video->flags_ & telegram_api::documentAttributeVideo::ROUND_MESSAGE_MASK) != 0) { // video note without sound animated = nullptr; + } else if (sticker != nullptr) { + // sticker + type_attributes--; + animated = nullptr; + video = nullptr; } else { // video animation video = nullptr;