Fix article content type.
GitOrigin-RevId: 0469eb98f3603ea6f7f220d92374572d6b029e87
This commit is contained in:
parent
f270a2ef18
commit
e0e8e69cde
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user