X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Factivitypub%2Ffollow.ts;h=f6e2a48fdec3e889bb04a9c72d832fbb110eef35;hb=afb371d940531a5a8aafb5895b369b9cdecd555b;hp=741b54df51be336ab0c988bd72d6d3dfcab4f23d;hpb=4d029ef8ec3d5274eeaa3ee6d808eb7035e7faef;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/activitypub/follow.ts b/server/lib/activitypub/follow.ts index 741b54df5..f6e2a48fd 100644 --- a/server/lib/activitypub/follow.ts +++ b/server/lib/activitypub/follow.ts @@ -27,7 +27,7 @@ async function autoFollowBackIfNeeded (actorFollow: MActorFollowActors, transact isAutoFollow: true } - JobQueue.Instance.createJob({ type: 'activitypub-follow', payload }) + JobQueue.Instance.createJobAsync({ type: 'activitypub-follow', payload }) } }