mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
fix newUri
This commit is contained in:
parent
0f3491666a
commit
0d78cacffc
@ -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 New Issue
Block a user