From ac6a59914b0c1a20f084f9ae9a3136b28c89493e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 7 Mar 2021 13:22:38 +0300 Subject: nsfw: support API clients --- plugins/share/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/share/init.php') 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); -- cgit v1.2.3-54-g00ecf