mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
The whole contact handling does work now, yeah ...
This commit is contained in:
parent
6a8ebc8639
commit
86bd283705
3 changed files with 26 additions and 9 deletions
|
@ -557,7 +557,7 @@ class Contact extends BaseObject
|
|||
} elseif ($contact['network'] == Protocol::DIASPORA) {
|
||||
Diaspora::sendUnshare($user, $contact);
|
||||
} elseif ($contact['network'] == Protocol::ACTIVITYPUB) {
|
||||
ActivityPub::transmitContactActivity('Undo', $contact['url'], '', $user['uid']);
|
||||
ActivityPub::transmitContactUndo($contact['url'], '', $user['uid']);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1834,7 +1834,7 @@ class Contact extends BaseObject
|
|||
return;
|
||||
}
|
||||
|
||||
$url = $pub_contact['url'];
|
||||
$url = defaults($datarray, 'author-link', $pub_contact['url']);
|
||||
$name = $pub_contact['name'];
|
||||
$photo = $pub_contact['photo'];
|
||||
$nick = $pub_contact['nick'];
|
||||
|
@ -1848,7 +1848,7 @@ class Contact extends BaseObject
|
|||
}
|
||||
|
||||
if ($contact['network'] == Protocol::ACTIVITYPUB) {
|
||||
ActivityPub::transmitContactActivity('Accept', $contact['url'], $contact['hub-verify'], $importer['uid']);
|
||||
ActivityPub::transmitContactAccept($contact['url'], $contact['hub-verify'], $importer['uid']);
|
||||
}
|
||||
|
||||
// send email notification to owner?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue