summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/kernel/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote/activitypub/kernel/index.ts')
-rw-r--r--src/remote/activitypub/kernel/index.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/remote/activitypub/kernel/index.ts b/src/remote/activitypub/kernel/index.ts
index 52b0efc730..61bb89f5e9 100644
--- a/src/remote/activitypub/kernel/index.ts
+++ b/src/remote/activitypub/kernel/index.ts
@@ -10,6 +10,7 @@ import accept from './accept';
import reject from './reject';
import add from './add';
import remove from './remove';
+import block from './block';
const self = async (actor: IRemoteUser, activity: Object): Promise<void> => {
switch (activity.type) {
@@ -53,6 +54,10 @@ const self = async (actor: IRemoteUser, activity: Object): Promise<void> => {
await undo(actor, activity);
break;
+ case 'Block':
+ await block(actor, activity);
+ break;
+
case 'Collection':
case 'OrderedCollection':
// TODO