Remove expected error logging.
This commit is contained in:
parent
9cd859d313
commit
8880e56967
@ -2059,7 +2059,6 @@ unique_ptr<WebPageBlock> get_web_page_block(Td *td, tl_object_ptr<telegram_api::
|
|||||||
bool is_looped = page_block->loop_;
|
bool is_looped = page_block->loop_;
|
||||||
auto animations_it = animations.find(page_block->video_id_);
|
auto animations_it = animations.find(page_block->video_id_);
|
||||||
if (animations_it != animations.end()) {
|
if (animations_it != animations.end()) {
|
||||||
LOG_IF(ERROR, !is_looped) << "Receive non-looped animation";
|
|
||||||
return make_unique<WebPageBlockAnimation>(
|
return make_unique<WebPageBlockAnimation>(
|
||||||
animations_it->second, get_page_block_caption(std::move(page_block->caption_), documents), need_autoplay);
|
animations_it->second, get_page_block_caption(std::move(page_block->caption_), documents), need_autoplay);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user