diff options
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r-- | server/lib/activitypub/send/misc.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/activitypub/send/misc.ts b/server/lib/activitypub/send/misc.ts index fe137464e..444c1cbd6 100644 --- a/server/lib/activitypub/send/misc.ts +++ b/server/lib/activitypub/send/misc.ts | |||
@@ -29,7 +29,7 @@ async function forwardActivity ( | |||
29 | 29 | ||
30 | if (uris.length === 0) { | 30 | if (uris.length === 0) { |
31 | logger.info('0 followers for %s, no forwarding.', toAccountFollowers.map(a => a.id).join(', ')) | 31 | logger.info('0 followers for %s, no forwarding.', toAccountFollowers.map(a => a.id).join(', ')) |
32 | return | 32 | return undefined |
33 | } | 33 | } |
34 | 34 | ||
35 | logger.debug('Creating forwarding job.', { uris }) | 35 | logger.debug('Creating forwarding job.', { uris }) |
@@ -52,7 +52,7 @@ async function broadcastToFollowers ( | |||
52 | const uris = await computeFollowerUris(toAccountFollowers, followersException) | 52 | const uris = await computeFollowerUris(toAccountFollowers, followersException) |
53 | if (uris.length === 0) { | 53 | if (uris.length === 0) { |
54 | logger.info('0 followers for %s, no broadcasting.', toAccountFollowers.map(a => a.id).join(', ')) | 54 | logger.info('0 followers for %s, no broadcasting.', toAccountFollowers.map(a => a.id).join(', ')) |
55 | return | 55 | return undefined |
56 | } | 56 | } |
57 | 57 | ||
58 | logger.debug('Creating broadcast job.', { uris }) | 58 | logger.debug('Creating broadcast job.', { uris }) |