Buffer: Don't post a link if its a photo - this irritates buffer
This commit is contained in:
parent
39d22ea281
commit
1320a26a01
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue