From 9ba24d0de95e5c44f3f19b21d3d4b0f9e95f500c Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 19 Aug 2018 07:21:45 +0000 Subject: [PATCH] One tiny little notice got hide deep in the code ... --- statusnet/statusnet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index bd7800d8..cf5eec28 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -1432,7 +1432,7 @@ function statusnet_convertmsg(App $a, $body, $no_tags = false) $footerlink = "[url=" . $expanded_url . "]" . $expanded_url . "[/url]"; $body = str_replace($search, $footerlink, $body); - } elseif (($oembed_data->type == "photo") && isset($oembed_data->url) && !$dontincludemedia) { + } elseif (($oembed_data->type == "photo") && isset($oembed_data->url)) { $body = str_replace($search, "[url=" . $expanded_url . "][img]" . $oembed_data->url . "[/img][/url]", $body); } elseif ($oembed_data->type != "link") { $body = str_replace($search, "[url=" . $expanded_url . "]" . $expanded_url . "[/url]", $body); -- 2.39.5