mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 14:30:39 +01:00
fix newUri
This commit is contained in:
parent
0f3491666a
commit
0d78cacffc
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ export class UserFollowingService implements OnModuleInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (movedFollower.alsoKnownAs) {
|
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) {
|
for (const oldUri of movedFollower.alsoKnownAs) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue