mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Add new hook to support unfollow contacts on non-native networks
This commit is contained in:
parent
00382dd39e
commit
d8febbe45e
4 changed files with 26 additions and 1 deletions
|
@ -144,7 +144,7 @@ function unfollow_process(string $url)
|
|||
Contact::terminateFriendship($owner, $contact, $dissolve);
|
||||
}
|
||||
|
||||
// Sharing-only contacts get deleted as there no relationship any more
|
||||
// Sharing-only contacts get deleted as there no relationship anymore
|
||||
if ($dissolve) {
|
||||
Contact::remove($contact['id']);
|
||||
$return_path = $base_return_path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue