From: Michael Vogel Date: Sat, 3 May 2014 21:41:33 +0000 (+0200) Subject: Buffer: Don't post a link if its a photo - this irritates buffer X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1320a26a0119a3cfde9543855d7f8292462e4c7c;p=friendica-addons.git Buffer: Don't post a link if its a photo - this irritates buffer --- diff --git a/buffer/buffer.php b/buffer/buffer.php index 76156e16..d7ad69f6 100644 --- a/buffer/buffer.php +++ b/buffer/buffer.php @@ -354,7 +354,7 @@ function buffer_send(&$a,&$b) { if (isset($post["description"])) $message["media[description]"] = $post["description"]; - if (isset($post["url"])) + if (isset($post["url"]) AND ($post["type"] != "photo")) $message["media[link]"] = $post["url"]; if (isset($post["image"])) {