Silence expected warning.

GitOrigin-RevId: 6d9d0da04e8d95e4a5ed8dcd48eb90be1ff1bdb7
This commit is contained in:
levlam 2020-05-01 12:19:52 +03:00
parent 3b4483677c
commit 8d2f08ebb2
1 changed files with 3 additions and 1 deletions

View File

@ -1568,7 +1568,9 @@ std::pair<int64, FileId> StickersManager::on_get_sticker_document(
}
}
if (sticker == nullptr) {
LOG(ERROR) << "Have no attributeSticker in sticker " << to_string(document);
if (document->mime_type_ != "application/x-bad-tgsticker") {
LOG(ERROR) << "Have no attributeSticker in sticker " << to_string(document);
}
return {};
}