diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-29 11:59:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-29 13:40:39 +0200 |
commit | 2284f202070aa2e49156cc52b3b1596a7d5aadec (patch) | |
tree | 77aeb00016734667f8ff32a98ea8b4a6ed3ca31e /server/lib/job-queue | |
parent | 112be80ebdf96ef6a27420c1c6a10097388731a9 (diff) | |
download | PeerTube-2284f202070aa2e49156cc52b3b1596a7d5aadec.tar.gz PeerTube-2284f202070aa2e49156cc52b3b1596a7d5aadec.tar.zst PeerTube-2284f202070aa2e49156cc52b3b1596a7d5aadec.zip |
Add gitlab ci support
Diffstat (limited to 'server/lib/job-queue')
-rw-r--r-- | server/lib/job-queue/handlers/activitypub-follow.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/activitypub-follow.ts b/server/lib/job-queue/handlers/activitypub-follow.ts index b3defb617..4ae66cd01 100644 --- a/server/lib/job-queue/handlers/activitypub-follow.ts +++ b/server/lib/job-queue/handlers/activitypub-follow.ts | |||
@@ -69,7 +69,7 @@ async function follow (fromActor: ActorModel, targetActor: ActorModel) { | |||
69 | actorFollow.ActorFollower = fromActor | 69 | actorFollow.ActorFollower = fromActor |
70 | 70 | ||
71 | // Send a notification to remote server if our follow is not already accepted | 71 | // Send a notification to remote server if our follow is not already accepted |
72 | if (actorFollow.state !== 'accepted') await sendFollow(actorFollow) | 72 | if (actorFollow.state !== 'accepted') sendFollow(actorFollow, t) |
73 | 73 | ||
74 | return actorFollow | 74 | return actorFollow |
75 | }) | 75 | }) |