diff options
author | Andrew Dolgov <[email protected]> | 2021-03-07 13:22:38 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-07 13:22:38 +0300 |
commit | ac6a59914b0c1a20f084f9ae9a3136b28c89493e (patch) | |
tree | 122b1489c91496bb2768a8b84c96af6e8d0321c6 /plugins/share | |
parent | ffb93d72acb60d1418cc00f2bc676a623f7e5e1c (diff) |
nsfw: support API clients
Diffstat (limited to 'plugins/share')
-rw-r--r-- | plugins/share/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/share/init.php b/plugins/share/init.php index 8145d51ee..64a9054eb 100644 --- a/plugins/share/init.php +++ b/plugins/share/init.php @@ -142,7 +142,7 @@ class Share extends Plugin { $line); $enclosures = Article::_get_enclosures($line["id"]); - list ($og_image, $og_stream) = Article::_get_image($enclosures, $line['content'], $line["site_url"]); + list ($og_image, $og_stream) = Article::_get_image($enclosures, $line['content'], $line["site_url"], $line); $content_decoded = html_entity_decode($line["title"], ENT_NOQUOTES | ENT_HTML401); $parsed_updated = TimeHelper::make_local_datetime($line["updated"], true, $owner_uid, true); |