summaryrefslogtreecommitdiff
path: root/src/processor/http/index.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-04-03 17:19:52 +0900
committerGitHub <noreply@github.com>2018-04-03 17:19:52 +0900
commitc666a2b26ea664cea5694bb42a6f18e13a742909 (patch)
tree3ff6b88fce69b533a93b6c33c0818c346b738194 /src/processor/http/index.ts
parentMerge pull request #1381 from akihikodaki/unfollow (diff)
parentImplement remote account unfollow (diff)
downloadsharkey-c666a2b26ea664cea5694bb42a6f18e13a742909.tar.gz
sharkey-c666a2b26ea664cea5694bb42a6f18e13a742909.tar.bz2
sharkey-c666a2b26ea664cea5694bb42a6f18e13a742909.zip
Merge pull request #1382 from akihikodaki/unfollow
Implement remote account unfollow
Diffstat (limited to 'src/processor/http/index.ts')
-rw-r--r--src/processor/http/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/processor/http/index.ts b/src/processor/http/index.ts
index 0301b472ce..8f9aa717c3 100644
--- a/src/processor/http/index.ts
+++ b/src/processor/http/index.ts
@@ -3,6 +3,7 @@ import follow from './follow';
import performActivityPub from './perform-activitypub';
import processInbox from './process-inbox';
import reportGitHubFailure from './report-github-failure';
+import unfollow from './unfollow';
const handlers = {
deliverPost,
@@ -10,6 +11,7 @@ const handlers = {
performActivityPub,
processInbox,
reportGitHubFailure,
+ unfollow
};
export default (job, done) => handlers[job.data.type](job).then(() => done(), done);