Buffer: Don't post a link if its a photo - this irritates buffer
parent
39d22ea281
commit
1320a26a01
|
@ -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"])) {
|
||||
|
|
Loading…
Reference in New Issue