1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 16:45:54 +02:00

Some bug fixes

This commit is contained in:
syuilo
2018-04-08 03:58:11 +09:00
parent a1b490afa7
commit a02ee3a08b
81 changed files with 337 additions and 1318 deletions

View File

@@ -8,7 +8,7 @@ import Resolver from '../../resolver';
const log = debug('misskey:activitypub');
export default async (actor: IRemoteUser, activity: IUndo): Promise<void> => {
if ('actor' in activity && actor.account.uri !== activity.actor) {
if ('actor' in activity && actor.uri !== activity.actor) {
throw new Error('invalid actor');
}