mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 09:04:26 +02:00
cleaned up the conditions on when to and when not to relay.
This commit is contained in:
parent
b6fdd3c76b
commit
a775474dff
3 changed files with 44 additions and 10 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue