fbpost/fbsync: fetching larger photos, appnet/statusnet/twitter: better removal of superfluous links #205

Merged
annando merged 6 commits from master into master 2014-08-07 08:39:14 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d3fa9a7b21 - Show all commits

View file

@ -564,7 +564,7 @@ function fbpost_post_hook(&$a,&$b) {
if ($toplevel) {
require_once("include/plaintext.php");
$msgarr = plaintext($a, $b, 0, false);
$msgarr = plaintext($a, $b, 0, false, 9);
$msg = $msgarr["text"];
$link = $msgarr["url"];
$linkname = $msgarr["title"];

View file

@ -271,7 +271,7 @@ function gpluspost_send(&$a,&$b) {
$item["body"] = preg_replace("(\[i\](.*?)\[\/i\])ism",'_$1_',$item["body"]);
$item["body"] = preg_replace("(\[s\](.*?)\[\/s\])ism",'-$1-',$item["body"]);
$data = plaintext($a, $item, 0, false);
$data = plaintext($a, $item, 0, false, 9);
logger('gpluspost_send: data: '.print_r($data, true), LOGGER_DEBUG);