summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2023-04-11 08:22:08 -0100
committerGitHub <noreply@github.com>2023-04-11 08:22:08 -0100
commit59ba1b287371f77c98155103ef81fc288e7e7f62 (patch)
treecfaf49b459bf9bab1b20a213a4812cc399fb8774 /lib
parent54aaef5f80f13d57db20223580a73c93b7fde17b (diff)
parent16c85b111bd03e972703da9014dd6ff176ee48e1 (diff)
Merge pull request #1724 from nextcloud/fix/noid/follow-notification
fix notification on follow
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/FollowService.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Service/FollowService.php b/lib/Service/FollowService.php
index 56e0d563..682b30ed 100644
--- a/lib/Service/FollowService.php
+++ b/lib/Service/FollowService.php
@@ -141,11 +141,6 @@ class FollowService {
$follow->setObjectId($remoteActor->getId());
$follow->setFollowId($remoteActor->getFollowers());
- if ($remoteActor->isLocal()) {
- // TODO: check user's setting about locked account/auto-accept followers
- $follow->setAccepted(true);
- }
-
try {
$this->followsRequest->getByPersons($actor->getId(), $remoteActor->getId());
} catch (FollowNotFoundException $e) {