Treat video stickers as stickers.

This commit is contained in:
levlam 2022-01-30 11:59:37 +03:00
parent 3739c5b92f
commit d187d14660

View File

@ -134,6 +134,10 @@ Document DocumentsManager::on_get_document(RemoteDocument remote_document, Dialo
// video animation
video = nullptr;
}
} else if (sticker != nullptr) {
// some stickers uploaded before release
type_attributes--;
video = nullptr;
}
}
if (animated != nullptr && audio != nullptr) {