GNU Social, Pump.io, Twitter: Improved check for posts that originally come from friendica to prevent mirroring them.

This commit is contained in:
Michael Vogel 2015-02-08 10:48:04 +01:00
parent 05010028cb
commit 4769c81e26
4 changed files with 4 additions and 4 deletions

View file

@ -838,7 +838,7 @@ function statusnet_fetchtimeline($a, $uid) {
if ($post->in_reply_to_status_id != "")
continue;
if (!strpos($post->source, $application_name)) {
if (!stristr($post->source, $application_name)) {
$_SESSION["authenticated"] = true;
$_SESSION["uid"] = $uid;