]> git.mxchange.org Git - friendica.git/commitdiff
Pass the "uid" when calling the "follow" hook
authorMichael <heluecht@pirati.ca>
Tue, 30 May 2023 06:06:49 +0000 (06:06 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 30 May 2023 06:06:49 +0000 (06:06 +0000)
src/Model/Contact.php

index 78150f1ff4085606ced6119babf7784c1eadedfd..19bb97761cc574bdacf8e4e8e9cf95371f51dad8 100644 (file)
@@ -2962,7 +2962,7 @@ class Contact
                        return $result;
                }
 
-               $arr = ['url' => $url, 'contact' => []];
+               $arr = ['url' => $url, 'uid' => $uid, 'contact' => []];
 
                Hook::callAll('follow', $arr);