1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-12 05:38:51 +09:00
This commit is contained in:
syuilo 2018-04-07 06:58:53 +09:00
parent b98e67bca4
commit a34710fea9

View File

@ -1,11 +1,12 @@
import Resolver from '../../resolver';
import deleteNote from './note';
import Post from '../../../../models/post';
import { IRemoteUser } from '../../../../models/user';
/**
*
*/
export default async (actor, activity): Promise<void> => {
export default async (actor: IRemoteUser, activity): Promise<void> => {
if ('actor' in activity && actor.account.uri !== activity.actor) {
throw new Error('invalid actor');
}