Fix article content type.

GitOrigin-RevId: 0469eb98f3603ea6f7f220d92374572d6b029e87
This commit is contained in:
levlam 2018-03-18 03:47:32 +03:00
parent f270a2ef18
commit e0e8e69cde

View File

@ -530,6 +530,7 @@ void InlineQueriesManager::answer_inline_query(int64 inline_query_id, bool is_pe
type = "article";
id = std::move(article->id_);
content_url = std::move(article->url_);
content_type = "text/html";
if (!article->hide_url_) {
url = content_url;
}