1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 20:15:55 +02:00
This commit is contained in:
syuilo
2018-04-02 04:15:27 +09:00
parent e8bde94e5b
commit cd2542e0fd
99 changed files with 111 additions and 111 deletions

View File

@@ -0,0 +1,9 @@
import create from '../create';
export default (resolver, actor, activity) => {
if ('actor' in activity && actor.account.uri !== activity.actor) {
throw new Error();
}
return create(resolver, actor, activity.object);
};