Merge remote-tracking branch 'upstream/develop' into user-contact

This commit is contained in:
Michael
2021-09-26 03:07:59 +00:00
6 changed files with 59 additions and 32 deletions
+6
View File
@@ -871,6 +871,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);
}
}