]> git.mxchange.org Git - friendica.git/commitdiff
In the API you now can update not only the body but also the title. In html2plain...
authorMichael <ike@pirati.ca>
Sun, 4 Nov 2012 22:18:52 +0000 (23:18 +0100)
committerMichael <ike@pirati.ca>
Sun, 4 Nov 2012 22:18:52 +0000 (23:18 +0100)
include/api.php
include/html2plain.php

index 456d984de17fb287276695842fe28b0cfaa73b57..fb03b30a0a5202bf0624aa5ec52f6e189816cc47 100644 (file)
                        $_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;
index 839dd70a74437383a01ccdec34bbcad0d66506a7..4afac41d8316267b78198d2ed054ea686497a3ce 100644 (file)
@@ -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];
        }