Merge remote-tracking branch 'upstream/develop' into conversation-moved

This commit is contained in:
Michael 2021-09-26 03:57:31 +00:00
commit 96055cafff
6 changed files with 59 additions and 32 deletions

View file

@ -845,6 +845,12 @@ class Contact
if ($dissolve) {
ActivityPub\Transmitter::sendContactReject($contact['url'], $contact['hub-verify'], $user['uid']);
}
} else {
$hook_data = [
'contact' => $contact,
'dissolve' => $dissolve,
];
Hook::callAll('unfollow', $hook_data);
}
}