aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-24 04:42:28 -0700
committerFriendika <info@friendika.com>2011-08-24 04:42:28 -0700
commita775474dff73e0e17e95bcfee42caeecdacf5295 (patch)
tree026618b3896f1170467114070d3a0c77e7f3856f /include/items.php
parentb6fdd3c76bd6d0f30a7973286ef19c10bf6326a6 (diff)
downloadvolse-hubzilla-a775474dff73e0e17e95bcfee42caeecdacf5295.tar.gz
volse-hubzilla-a775474dff73e0e17e95bcfee42caeecdacf5295.tar.bz2
volse-hubzilla-a775474dff73e0e17e95bcfee42caeecdacf5295.zip
cleaned up the conditions on when to and when not to relay.
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 746e3b294..19e56c0b6 100644
--- a/include/items.php
+++ b/include/items.php
@@ -1556,7 +1556,7 @@ function subscribe_to_hub($url,$importer,$contact) {
intval($importer['uid'])
);
}
- if(! count($r))
+ if((! count($r)) || $contact['network'] === NETWORK_DIASPORA)
return;
$push_url = get_config('system','url') . '/pubsub/' . $r[0]['nickname'] . '/' . $contact['id'];