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
1 changed files with 4 additions and 0 deletions

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)) {