diff --git a/packages/backend/src/remote/activitypub/kernel/move/index.ts b/packages/backend/src/remote/activitypub/kernel/move/index.ts index 37435c3c60..bdd82d9be4 100644 --- a/packages/backend/src/remote/activitypub/kernel/move/index.ts +++ b/packages/backend/src/remote/activitypub/kernel/move/index.ts @@ -58,12 +58,16 @@ export default async (actor: CacheableRemoteUser, activity: IMove): Promise { //if follower is local - if (!following.follower?.host) { - const follower = following.follower; + if (!following.followerHost) { + const follower = await getUser(following.followerId).catch(e => { + if (e.id === '15348ddd-432d-49c2-8a5a-8069753becff') throw new ApiError(meta.errors.noSuchUser); + throw e; + }); await deleteFollowing(follower!, followee); try { await create(follower!, followeeNew);