From: Michael Date: Tue, 30 May 2023 06:06:49 +0000 (+0000) Subject: Pass the "uid" when calling the "follow" hook X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f5433b25d86bf43747c3ed2e2d4f56b0237ef8c3;p=friendica.git Pass the "uid" when calling the "follow" hook --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 78150f1ff4..19bb97761c 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -2962,7 +2962,7 @@ class Contact return $result; } - $arr = ['url' => $url, 'contact' => []]; + $arr = ['url' => $url, 'uid' => $uid, 'contact' => []]; Hook::callAll('follow', $arr);