This commit is contained in:
syuilo 2018-04-17 16:05:50 +09:00
parent cb9a950bd0
commit ef21993199
8 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ const httpSignature = require('http-signature');
import parseAcct from '../../../acct/parse';
import User, { IRemoteUser } from '../../../models/user';
import perform from '../../../remote/activitypub/perform';
import { resolvePerson } from '../../../remote/activitypub/objects/person';
import { resolvePerson } from '../../../remote/activitypub/models/person';
const log = debug('misskey:queue:inbox');

View file

@ -4,7 +4,7 @@ import Resolver from '../../resolver';
import post from '../../../../services/note/create';
import { IRemoteUser } from '../../../../models/user';
import { IAnnounce, INote } from '../../type';
import { fetchNote, resolveNote } from '../../objects/note';
import { fetchNote, resolveNote } from '../../models/note';
const log = debug('misskey:activitypub');

View file

@ -1,5 +1,5 @@
import { IRemoteUser } from '../../../../models/user';
import { createImage } from '../../objects/image';
import { createImage } from '../../models/image';
export default async function(actor: IRemoteUser, image): Promise<void> {
await createImage(image.url, actor);

View file

@ -1,6 +1,6 @@
import Resolver from '../../resolver';
import { IRemoteUser } from '../../../../models/user';
import { createNote, fetchNote } from '../../objects/note';
import { createNote, fetchNote } from '../../models/note';
/**
* 稿

View file

@ -2,7 +2,7 @@ import { toUnicode, toASCII } from 'punycode';
import User from '../models/user';
import webFinger from './webfinger';
import config from '../config';
import { createPerson } from './activitypub/objects/person';
import { createPerson } from './activitypub/models/person';
export default async (username, _host, option) => {
const usernameLower = username.toLowerCase();