mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 19:08:49 +00:00
GNU Social, Pump.io, Twitter: Improved check for posts that originally come from friendica to prevent mirroring them.
This commit is contained in:
parent
05010028cb
commit
4769c81e26
4 changed files with 4 additions and 4 deletions
|
@ -731,7 +731,7 @@ function pumpio_fetchtimeline(&$a, $uid) {
|
|||
if ($receiver->id == "http://activityschema.org/collection/public")
|
||||
$public = true;
|
||||
|
||||
if ($public AND !strstr($post->generator->displayName, $application_name)) {
|
||||
if ($public AND !stristr($post->generator->displayName, $application_name)) {
|
||||
require_once('include/html2bbcode.php');
|
||||
|
||||
$_SESSION["authenticated"] = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue