]> git.mxchange.org Git - friendica-addons.git/commitdiff
Merge pull request #116 from tobiasd/master
authortobiasd <tobias.diekershoff@gmx.net>
Sun, 21 Apr 2013 15:25:44 +0000 (08:25 -0700)
committertobiasd <tobias.diekershoff@gmx.net>
Sun, 21 Apr 2013 15:25:44 +0000 (08:25 -0700)
char limit for Twitter needs to set lower because of t.co

twitter/twitter.php

index c07d3b58cb3986169b39c4b606f71292e3df2465..21dbc0ba21944841ad1b0240cabdf71957950858 100755 (executable)
@@ -286,7 +286,7 @@ function twitter_shortenmsg($b) {
        require_once("include/bbcode.php");
        require_once("include/html2plain.php");
 
-       $max_char = 140;
+       $max_char = 130;
 
        // Looking for the first image
        $image = '';