- // Buffer doesn't add links to Twitter and App.net (but pictures)
- //if ($includedlinks && isset($post["url"]))
- if (($profile->service == "twitter") && isset($post["url"]) && ($post["type"] != "photo"))
- $post["text"] .= " ".$post["url"];
- elseif (($profile->service == "appdotnet") && isset($post["url"]) && isset($post["title"]) && ($post["type"] != "photo")) {
- $post["title"] = Plaintext::shorten($post["title"], 90);
- $post["text"] = Plaintext::shorten($post["text"], $limit - (24 + strlen($post["title"])));
- $post["text"] .= "\n[".$post["title"]."](".$post["url"].")";
- } elseif (($profile->service == "appdotnet") && isset($post["url"]) && ($post["type"] != "photo"))
- $post["text"] .= " ".$post["url"];
- elseif ($profile->service == "google")
+ // Buffer doesn't add links to Twitter (but pictures)
+ if (($profile->service == "twitter") && isset($post["url"]) && ($post["type"] != "photo")) {
+ $post["text"] .= " " . $post["url"];
+ } elseif ($profile->service == "google") {