kopia lustrzana https://github.com/nextcloud/social
fix notification on follow
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/1724/head
rodzic
961f8c021e
commit
16c85b111b
|
@ -138,11 +138,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) {
|
||||
|
|
Ładowanie…
Reference in New Issue