accept 140 chars in API, too

darcs-hash:20080817192710-84dde-47e8da809c930c7c4528e3cb920d9a448e56d4c0.gz
This commit is contained in:
Evan Prodromou 2008-08-17 15:27:10 -04:00
parent 1c021edad5
commit ee858bc880
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ class TwitapistatusesAction extends TwitterapiAction {
// errror? -- Zach
exit();
} else if (strlen($status) > 140) {
} else if (mb_strlen($status) > 140) {
// XXX: Twitter truncates anything over 140, flags the status
// as "truncated." Sending this error may screw up some clients