Diaspora: The "new friend" notification now respects the corresponding setting/"new friend" notification isn't send via "remote self" anymore.
This commit is contained in:
parent
86afc21841
commit
d1dd50e9b0
2 changed files with 5 additions and 1 deletions
|
|
@ -2715,6 +2715,10 @@ function item_is_remote_self($contact, &$datarray) {
|
|||
if ($datarray["app"] == $a->get_hostname())
|
||||
return false;
|
||||
|
||||
// Only forward posts
|
||||
if ($datarray["verb"] != ACTIVITY_POST)
|
||||
return false;
|
||||
|
||||
if (($contact['network'] != NETWORK_FEED) AND $datarray['private'])
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue