diff --git a/include/api.php b/include/api.php index 456d984de1..fb03b30a0a 100644 --- a/include/api.php +++ b/include/api.php @@ -559,6 +559,8 @@ $_REQUEST['body'] = requestdata('status'); //$_REQUEST['body'] = urldecode(requestdata('status')); + $_REQUEST['title'] = requestdata('title'); + $parent = requestdata('in_reply_to_status_id'); if(ctype_digit($parent)) $_REQUEST['parent'] = $parent; diff --git a/include/html2plain.php b/include/html2plain.php index 839dd70a74..4afac41d83 100644 --- a/include/html2plain.php +++ b/include/html2plain.php @@ -92,6 +92,9 @@ function collecturls($message) { if ((strpos($treffer[1], "//plus.google.com/") !== false) and (strpos($treffer[1], "/posts") !== false)) $ignore = false; + if ((strpos($treffer[1], "//plus.google.com/") !== false) and (strpos($treffer[1], "/photos") !== false)) + $ignore = false; + if (!$ignore) $urls[$treffer[1]] = $treffer[1]; }