diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-30 14:15:17 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-30 14:15:17 +0100 |
commit | fef2c7164e025b12a64185dbab058ef4129733c6 (patch) | |
tree | c9199f611af4334971dfffc71ea6920870a639c1 /server/controllers/activitypub | |
parent | f00984c0077e9b666fe8005452768e53d1c3f421 (diff) | |
download | PeerTube-fef2c7164e025b12a64185dbab058ef4129733c6.tar.gz PeerTube-fef2c7164e025b12a64185dbab058ef4129733c6.tar.zst PeerTube-fef2c7164e025b12a64185dbab058ef4129733c6.zip |
Fix bad to/cc when undo dislike
Diffstat (limited to 'server/controllers/activitypub')
-rw-r--r-- | server/controllers/activitypub/inbox.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/activitypub/inbox.ts b/server/controllers/activitypub/inbox.ts index 92bd20ddb..88a0834f6 100644 --- a/server/controllers/activitypub/inbox.ts +++ b/server/controllers/activitypub/inbox.ts | |||
@@ -44,7 +44,7 @@ async function inboxController (req: express.Request, res: express.Response, nex | |||
44 | } | 44 | } |
45 | 45 | ||
46 | // Only keep activities we are able to process | 46 | // Only keep activities we are able to process |
47 | logger.debug('Filtering activities...', { activities }) | 47 | logger.debug('Filtering %d activities...', activities.length) |
48 | activities = activities.filter(a => isActivityValid(a)) | 48 | activities = activities.filter(a => isActivityValid(a)) |
49 | logger.debug('We keep %d activities.', activities.length, { activities }) | 49 | logger.debug('We keep %d activities.', activities.length, { activities }) |
50 | 50 | ||