mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 08:58:49 +00:00
Improved loop detection for Google+, Pump.io, Twitter and GNU Social
This commit is contained in:
parent
ad1afc33d0
commit
584f58e573
5 changed files with 32 additions and 16 deletions
|
@ -230,7 +230,7 @@ function gpluspost_send(&$a,&$b) {
|
|||
return;
|
||||
|
||||
// if post comes from Google+ don't send it back
|
||||
if (!get_pconfig($b["uid"],'gpluspost','no_loop_prevention') and ($b['app'] == "Google+"))
|
||||
if (!get_pconfig($b["uid"],'gpluspost','no_loop_prevention') and (($b['app'] == "Google+") OR ($b["extid"] == NETWORK_GPLUS)))
|
||||
return;
|
||||
|
||||
if (!gpluspost_nextscripts()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue