aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-04 15:50:40 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-09-04 16:24:58 +0200
commit2ba613a5438f993c3874376dd79be9d460ea81d1 (patch)
tree7774787f595d89c71b5df27097005e9734881c1d /server/lib
parente1b49ee534108ba8ac98dcb209d2efcbf1ecd678 (diff)
downloadPeerTube-2ba613a5438f993c3874376dd79be9d460ea81d1.tar.gz
PeerTube-2ba613a5438f993c3874376dd79be9d460ea81d1.tar.zst
PeerTube-2ba613a5438f993c3874376dd79be9d460ea81d1.zip
Fix tests
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/activitypub/follow.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/follow.ts b/server/lib/activitypub/follow.ts
index c57e43c91..1abf43cd4 100644
--- a/server/lib/activitypub/follow.ts
+++ b/server/lib/activitypub/follow.ts
@@ -4,7 +4,7 @@ import { SERVER_ACTOR_NAME } from '../../initializers/constants'
4import { JobQueue } from '../job-queue' 4import { JobQueue } from '../job-queue'
5import { logger } from '../../helpers/logger' 5import { logger } from '../../helpers/logger'
6import { getServerActor } from '../../helpers/utils' 6import { getServerActor } from '../../helpers/utils'
7import { ServerModel } from '@server/models/server/server' 7import { ServerModel } from '../../models/server/server'
8 8
9async function autoFollowBackIfNeeded (actorFollow: MActorFollowActors) { 9async function autoFollowBackIfNeeded (actorFollow: MActorFollowActors) {
10 if (!CONFIG.FOLLOWINGS.INSTANCE.AUTO_FOLLOW_BACK.ENABLED) return 10 if (!CONFIG.FOLLOWINGS.INSTANCE.AUTO_FOLLOW_BACK.ENABLED) return