Remove expected error logging.

This commit is contained in:
levlam 2023-05-15 15:55:56 +03:00
parent 9cd859d313
commit 8880e56967

View File

@ -2059,7 +2059,6 @@ unique_ptr<WebPageBlock> get_web_page_block(Td *td, tl_object_ptr<telegram_api::
bool is_looped = page_block->loop_;
auto animations_it = animations.find(page_block->video_id_);
if (animations_it != animations.end()) {
LOG_IF(ERROR, !is_looped) << "Receive non-looped animation";
return make_unique<WebPageBlockAnimation>(
animations_it->second, get_page_block_caption(std::move(page_block->caption_), documents), need_autoplay);
}