summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/kernel/create
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-09 05:23:35 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-09 05:23:35 +0900
commitcf5b6791177767816708e9e96bbd91d1c8e2a8bb (patch)
tree10868925847d954624e1f2dac8dd01a8558aa475 /src/remote/activitypub/kernel/create
parentFix bug (diff)
downloadsharkey-cf5b6791177767816708e9e96bbd91d1c8e2a8bb.tar.gz
sharkey-cf5b6791177767816708e9e96bbd91d1c8e2a8bb.tar.bz2
sharkey-cf5b6791177767816708e9e96bbd91d1c8e2a8bb.zip
:v:
Diffstat (limited to 'src/remote/activitypub/kernel/create')
-rw-r--r--src/remote/activitypub/kernel/create/index.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/remote/activitypub/kernel/create/index.ts b/src/remote/activitypub/kernel/create/index.ts
index 7cb9b08449..e11bcac811 100644
--- a/src/remote/activitypub/kernel/create/index.ts
+++ b/src/remote/activitypub/kernel/create/index.ts
@@ -9,10 +9,6 @@ import { ICreate } from '../../type';
const log = debug('misskey:activitypub');
export default async (actor: IRemoteUser, activity: ICreate): Promise<void> => {
- if ('actor' in activity && actor.uri !== activity.actor) {
- throw new Error('invalid actor');
- }
-
const uri = activity.id || activity;
log(`Create: ${uri}`);