API: Retweets with Twidere now work again.
This commit is contained in:
parent
822b3865df
commit
35048819ff
|
@ -1623,7 +1623,7 @@
|
||||||
$include_entities = strtolower(x($_REQUEST,'include_entities')?$_REQUEST['include_entities']:"false");
|
$include_entities = strtolower(x($_REQUEST,'include_entities')?$_REQUEST['include_entities']:"false");
|
||||||
|
|
||||||
if ($include_entities != "true")
|
if ($include_entities != "true")
|
||||||
return false;
|
return array();
|
||||||
|
|
||||||
// Change pure links in text to bbcode uris
|
// Change pure links in text to bbcode uris
|
||||||
$bbcode = preg_replace("/([^\]\='".'"'."]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\_\~\#\%\$\!\+\,]+)/ism", '$1[url=$2]$2[/url]', $bbcode);
|
$bbcode = preg_replace("/([^\]\='".'"'."]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\_\~\#\%\$\!\+\,]+)/ism", '$1[url=$2]$2[/url]', $bbcode);
|
||||||
|
|
Loading…
Reference in a new issue