mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
fromgplus, gpluspost: Some more loop prevention added.
This commit is contained in:
parent
e0eaaf7b23
commit
414c066b18
2 changed files with 67 additions and 2 deletions
|
@ -327,7 +327,9 @@ function fromgplus_fetch($a, $uid) {
|
|||
else
|
||||
$location = "";
|
||||
|
||||
fromgplus_post($a, $uid, "Google+", $post, $location);
|
||||
// Loop prevention - should be made better
|
||||
if ($item->provider->title != "HootSuite")
|
||||
fromgplus_post($a, $uid, "Google+", $post, $location);
|
||||
//fromgplus_post($a, $uid, $item->provider->title, $post, $location);
|
||||
|
||||
break;
|
||||
|
@ -361,7 +363,9 @@ function fromgplus_fetch($a, $uid) {
|
|||
else
|
||||
$location = "";
|
||||
|
||||
fromgplus_post($a, $uid, "Google+", $post, $location);
|
||||
// Loop prevention - should be made better
|
||||
if ($item->provider->title != "HootSuite")
|
||||
fromgplus_post($a, $uid, "Google+", $post, $location);
|
||||
//fromgplus_post($a, $uid, $item->provider->title, $post, $location);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue