forked from GNUsocial/gnu-social
accept 140 chars in API, too
darcs-hash:20080817192710-84dde-47e8da809c930c7c4528e3cb920d9a448e56d4c0.gz
This commit is contained in:
parent
1c021edad5
commit
ee858bc880
@ -391,7 +391,7 @@ class TwitapistatusesAction extends TwitterapiAction {
|
|||||||
// errror? -- Zach
|
// errror? -- Zach
|
||||||
exit();
|
exit();
|
||||||
|
|
||||||
} else if (strlen($status) > 140) {
|
} else if (mb_strlen($status) > 140) {
|
||||||
|
|
||||||
// XXX: Twitter truncates anything over 140, flags the status
|
// XXX: Twitter truncates anything over 140, flags the status
|
||||||
// as "truncated." Sending this error may screw up some clients
|
// as "truncated." Sending this error may screw up some clients
|
||||||
|
Loading…
Reference in New Issue
Block a user