This commit is contained in:
mattyatea 2024-05-14 05:17:18 +09:00
parent 2c294ff978
commit 7f9ac61174
2 changed files with 4 additions and 4 deletions

View file

@ -484,15 +484,15 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
// 鍵垢を解除したとき、溜まっていたフォローリクエストがあるならすべて承認
if (user.isLocked && ps.isLocked === false) {
this.userFollowingService.acceptAllFollowRequests(user);
await this.userFollowingService.acceptAllFollowRequests(user);
}
// フォロワーにUpdateを配信
this.accountUpdateService.publishToFollowers(user.id);
await this.accountUpdateService.publishToFollowers(user.id);
const urls = updatedProfile.fields.filter(x => x.value.startsWith('https://'));
for (const url of urls) {
this.verifyLink(url.value, user);
await this.verifyLink(url.value, user);
}
return iObj;
});