mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 04:03:40 +00:00
fix spelling from copy and paste, Twitter is not StatusNet (not yet anyway)
This commit is contained in:
parent
84f26d06c4
commit
75ddc730c1
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Name: Twitter Connector
|
* Name: Twitter Connector
|
||||||
* Description: Relay public postings to a connected StatusNet account
|
* Description: Relay public postings to a connected Twitter account
|
||||||
* Version: 1.0.2
|
* Version: 1.0.2
|
||||||
* Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/profile/tobias>
|
* Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/profile/tobias>
|
||||||
*/
|
*/
|
||||||
|
@ -288,7 +288,7 @@ function twitter_post_hook(&$a,&$b) {
|
||||||
// longer so we give them 10 characters extra
|
// longer so we give them 10 characters extra
|
||||||
$max_char = 130; // max. length for a tweet
|
$max_char = 130; // max. length for a tweet
|
||||||
// we will only work with up to two times the length of the dent
|
// we will only work with up to two times the length of the dent
|
||||||
// we can later send to StatusNet. This way we can "gain" some
|
// we can later send to Twitter. This way we can "gain" some
|
||||||
// information during shortening of potential links but do not
|
// information during shortening of potential links but do not
|
||||||
// shorten all the links in a 200000 character long essay.
|
// shorten all the links in a 200000 character long essay.
|
||||||
$tmp = substr($b['body'], 0, 2*$max_char);
|
$tmp = substr($b['body'], 0, 2*$max_char);
|
||||||
|
|
Loading…
Reference in a new issue