Merge pull request #6600 from annando/false-notifications

The automatic follow request is currently deactivated
This commit is contained in:
Hypolite Petovan 2019-02-06 16:47:08 -05:00 committed by GitHub
commit 741701d26f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1298,6 +1298,10 @@ class Transmitter
*/
public static function sendFollowObject($object, $target, $uid = 0)
{
// Currently deactivated, due to notification problems.
// The follow message is reflected back and then causes false notifications.
return true;
$profile = APContact::getByURL($target);
if (empty($uid)) {