From ce7efc4dbb9dca05b6b99b5ada22205890ca823f Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Mon, 2 Apr 2018 17:11:14 +0900 Subject: Distribute posts from remote --- src/processor/http/perform-activitypub.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/processor') diff --git a/src/processor/http/perform-activitypub.ts b/src/processor/http/perform-activitypub.ts index 51e1ede145..d8981ea126 100644 --- a/src/processor/http/perform-activitypub.ts +++ b/src/processor/http/perform-activitypub.ts @@ -2,5 +2,5 @@ import User from '../../models/user'; import act from '../../remote/activitypub/act'; export default ({ data }, done) => User.findOne({ _id: data.actor }) - .then(actor => act(actor, data.outbox)) + .then(actor => act(actor, data.outbox, data.distribute)) .then(() => done(), done); -- cgit v1.2.3-freya