From 4f2b4366f2f2ed84b8308abeb87eb83ba34aa99e Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Mon, 28 Oct 2019 20:34:01 +0900 Subject: [PATCH] Fix #5539 (#5542) --- src/remote/activitypub/models/person.ts | 6 +++--- src/remote/activitypub/type.ts | 27 +++++++++++++++---------- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts index 09db5e1aed..198fd78bd5 100644 --- a/src/remote/activitypub/models/person.ts +++ b/src/remote/activitypub/models/person.ts @@ -3,7 +3,7 @@ import * as promiseLimit from 'promise-limit'; import config from '../../../config'; import Resolver from '../resolver'; import { resolveImage } from './image'; -import { isCollectionOrOrderedCollection, isCollection, IPerson } from '../type'; +import { isCollectionOrOrderedCollection, isCollection, IPerson, getApId } from '../type'; import { DriveFile } from '../../../models/entities/drive-file'; import { fromHtml } from '../../../mfm/fromHtml'; import { resolveNote, extractEmojis } from './note'; @@ -152,11 +152,11 @@ export async function createPerson(uri: string, resolver?: Resolver): Promise