This commit is contained in:
syuilo 2018-04-17 16:05:50 +09:00
parent 3d276ab733
commit aaa167fd57
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 parseAcct from '../../../acct/parse';
import User, { IRemoteUser } from '../../../models/user'; import User, { IRemoteUser } from '../../../models/user';
import perform from '../../../remote/activitypub/perform'; 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'); const log = debug('misskey:queue:inbox');

View File

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

View File

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

View File

@ -1,6 +1,6 @@
import Resolver from '../../resolver'; import Resolver from '../../resolver';
import { IRemoteUser } from '../../../../models/user'; 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 User from '../models/user';
import webFinger from './webfinger'; import webFinger from './webfinger';
import config from '../config'; import config from '../config';
import { createPerson } from './activitypub/objects/person'; import { createPerson } from './activitypub/models/person';
export default async (username, _host, option) => { export default async (username, _host, option) => {
const usernameLower = username.toLowerCase(); const usernameLower = username.toLowerCase();