1
1
Fork 0

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:
Michael Vogel 2015-02-01 16:04:16 +01:00
commit d1dd50e9b0
2 changed files with 5 additions and 1 deletions

View file

@ -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;