mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 06:00:21 +01:00
fix newUri
This commit is contained in:
parent
0f3491666a
commit
0d78cacffc
1 changed files with 2 additions and 2 deletions
|
@ -152,8 +152,8 @@ export class UserFollowingService implements OnModuleInit {
|
|||
}
|
||||
|
||||
if (movedFollower.alsoKnownAs) {
|
||||
const newUri = this.userEntityService.isLocalUser(movedFollower) ? movedFollower.uri : `${this.config.url}/users/${movedFollower.id}`;
|
||||
|
||||
const newUri = this.userEntityService.isRemoteUser(movedFollower) ? movedFollower.uri : `${this.config.url}/users/${movedFollower.id}`;
|
||||
|
||||
for (const oldUri of movedFollower.alsoKnownAs) {
|
||||
try {
|
||||
let oldAccount = await this.apPersonService.fetchPerson(oldUri);
|
||||
|
|
Loading…
Reference in a new issue