diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-09 05:23:35 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-09 05:23:35 +0900 |
| commit | cf5b6791177767816708e9e96bbd91d1c8e2a8bb (patch) | |
| tree | 10868925847d954624e1f2dac8dd01a8558aa475 /src/remote/activitypub/kernel/create/index.ts | |
| parent | Fix bug (diff) | |
| download | sharkey-cf5b6791177767816708e9e96bbd91d1c8e2a8bb.tar.gz sharkey-cf5b6791177767816708e9e96bbd91d1c8e2a8bb.tar.bz2 sharkey-cf5b6791177767816708e9e96bbd91d1c8e2a8bb.zip | |
:v:
Diffstat (limited to 'src/remote/activitypub/kernel/create/index.ts')
| -rw-r--r-- | src/remote/activitypub/kernel/create/index.ts | 4 |
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}`); |