summaryrefslogtreecommitdiff
path: root/src/processor/http/perform-activitypub.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-04-03 16:37:42 +0900
committerGitHub <noreply@github.com>2018-04-03 16:37:42 +0900
commit41d3992c528a2d59862d92992a854ff38934a5b4 (patch)
tree2a48cad7628ec973e019ed5be7398004971040d8 /src/processor/http/perform-activitypub.ts
parentMerge pull request #1380 from akihikodaki/misc (diff)
parentImplement unfollow by remote account (diff)
downloadmisskey-41d3992c528a2d59862d92992a854ff38934a5b4.tar.gz
misskey-41d3992c528a2d59862d92992a854ff38934a5b4.tar.bz2
misskey-41d3992c528a2d59862d92992a854ff38934a5b4.zip
Merge pull request #1381 from akihikodaki/unfollow
Implement unfollow by remote account
Diffstat (limited to 'src/processor/http/perform-activitypub.ts')
-rw-r--r--src/processor/http/perform-activitypub.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/processor/http/perform-activitypub.ts b/src/processor/http/perform-activitypub.ts
index adf4e65a72..4fdbb901d7 100644
--- a/src/processor/http/perform-activitypub.ts
+++ b/src/processor/http/perform-activitypub.ts
@@ -1,5 +1,6 @@
import User from '../../models/user';
import act from '../../remote/activitypub/act';
+import Resolver from '../../remote/activitypub/resolver';
export default ({ data }) => User.findOne({ _id: data.actor })
- .then(actor => act(actor, data.outbox, false));
+ .then(actor => act(new Resolver(), actor, data.outbox));