1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:15:55 +00:00

nsfw: support API clients

This commit is contained in:
Andrew Dolgov
2021-03-07 13:22:38 +03:00
parent ffb93d72ac
commit ac6a59914b
7 changed files with 66 additions and 34 deletions

View File

@@ -787,7 +787,8 @@ class API extends Handler {
list ($flavor_image, $flavor_stream, $flavor_kind) = Article::_get_image($enclosures,
$line["content"], // unsanitized
$line["site_url"]);
$line["site_url"],
$headline_row);
$headline_row["flavor_image"] = $flavor_image;
$headline_row["flavor_stream"] = $flavor_stream;