mirror of
https://github.com/friendica/friendica
synced 2025-04-25 10:30:12 +00:00
OStatus: Fixed communication issues with deleted contacts
This commit is contained in:
parent
23718aeae3
commit
32ee4ca4b1
4 changed files with 37 additions and 39 deletions
|
@ -290,7 +290,7 @@ function subscribe_to_hub($url, $importer, $contact, $hubmode = 'subscribe') {
|
|||
return;
|
||||
}
|
||||
|
||||
$push_url = Config::get('system','url') . '/pubsub/' . $r[0]['nickname'] . '/' . $contact['id'];
|
||||
$push_url = System::baseUrl() . '/pubsub/' . $r[0]['nickname'] . '/' . $contact['id'];
|
||||
|
||||
// Use a single verify token, even if multiple hubs
|
||||
$verify_token = ((strlen($contact['hub-verify'])) ? $contact['hub-verify'] : random_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue