Twitter: Send tweets in non-optimized mode again #145

Merged
tobiasd merged 2 commits from fix_twitter into master 2013-08-04 08:35:39 +02:00
2 changed files with 3 additions and 2 deletions

Binary file not shown.

View file

@ -622,11 +622,12 @@ function twitter_post_hook(&$a,&$b) {
}
$msg = trim($msg);
} else
$image = "";
} else {
$msgarr = twitter_shortenmsg($b);
$msg = $msgarr["msg"];
$image = $msgarr["image"];
}
// and now tweet it :-)
if(strlen($msg) and ($image != "")) {
$img_str = fetch_url($image);