summaryrefslogtreecommitdiff
path: root/src/processor/http/perform-activitypub.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-04-03 02:12:13 +0900
committerGitHub <noreply@github.com>2018-04-03 02:12:13 +0900
commitb851402db1a33387de5d37be2e44bfa23680e56e (patch)
tree2cb76aee965c1bd3abc7f1a773e0af3f025e5aa1 /src/processor/http/perform-activitypub.ts
parentUse index (diff)
parentDeliver posts to remote followers (diff)
downloadmisskey-b851402db1a33387de5d37be2e44bfa23680e56e.tar.gz
misskey-b851402db1a33387de5d37be2e44bfa23680e56e.tar.bz2
misskey-b851402db1a33387de5d37be2e44bfa23680e56e.zip
Merge pull request #1376 from akihikodaki/misc
Misc
Diffstat (limited to 'src/processor/http/perform-activitypub.ts')
-rw-r--r--src/processor/http/perform-activitypub.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/processor/http/perform-activitypub.ts b/src/processor/http/perform-activitypub.ts
index 420ed9ec75..adf4e65a72 100644
--- a/src/processor/http/perform-activitypub.ts
+++ b/src/processor/http/perform-activitypub.ts
@@ -1,6 +1,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, false))
- .then(() => done(), done);
+export default ({ data }) => User.findOne({ _id: data.actor })
+ .then(actor => act(actor, data.outbox, false));