mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 11:40:49 +00:00
fix newUri
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user