mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 23:08:12 +09:00
✌️
This commit is contained in:
parent
d45e2661aa
commit
ce81f4953b
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user