mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
Contact reject does work now as well
This commit is contained in:
parent
e45206ae5d
commit
2eabe45a8e
3 changed files with 38 additions and 9 deletions
|
@ -557,7 +557,11 @@ class Contact extends BaseObject
|
|||
} elseif ($contact['network'] == Protocol::DIASPORA) {
|
||||
Diaspora::sendUnshare($user, $contact);
|
||||
} elseif ($contact['network'] == Protocol::ACTIVITYPUB) {
|
||||
ActivityPub::transmitContactUndo($contact['url'], '', $user['uid']);
|
||||
ActivityPub::transmitContactUndo($contact['url'], $user['uid']);
|
||||
|
||||
if ($dissolve) {
|
||||
ActivityPub::transmitContactReject($contact['url'], $contact['hub-verify'], $user['uid']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue