From 6b1dc866a8469620aa572ae8e0df6e6856b9db77 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 9 Apr 2018 05:34:33 +0900 Subject: [PATCH] :v: --- src/remote/activitypub/kernel/announce/index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/remote/activitypub/kernel/announce/index.ts b/src/remote/activitypub/kernel/announce/index.ts index c3ac06607..a2cf2d576 100644 --- a/src/remote/activitypub/kernel/announce/index.ts +++ b/src/remote/activitypub/kernel/announce/index.ts @@ -8,10 +8,6 @@ import { IAnnounce } from '../../type'; const log = debug('misskey:activitypub'); export default async (actor: IRemoteUser, activity: IAnnounce): Promise => { - if ('actor' in activity && actor.uri !== activity.actor) { - throw new Error('invalid actor'); - } - const uri = activity.id || activity; log(`Announce: ${uri}`);