mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 23:20:21 +01:00
newUriを外に出す2
This commit is contained in:
parent
0995c36c1a
commit
6b75bd33b9
1 changed files with 2 additions and 2 deletions
|
@ -151,9 +151,9 @@ export class UserFollowingService implements OnModuleInit {
|
|||
movedFollower = await this.apPersonService.fetchPerson(movedFollower.uri) ?? follower;
|
||||
}
|
||||
|
||||
if (movedFollower.alsoKnownAs) {
|
||||
const newUri = this.userEntityService.isLocalUser(movedFollower) ? movedFollower.uri : `${this.config.url}/users/${movedFollower.id}`;
|
||||
|
||||
if (movedFollower.alsoKnownAs) {
|
||||
for (const oldUri of movedFollower.alsoKnownAs) {
|
||||
try {
|
||||
let oldAccount = await this.apPersonService.fetchPerson(oldUri);
|
||||
|
|
Loading…
Reference in a new issue