This commit is contained in:
mattyatea 2024-04-22 21:09:11 +09:00
parent 77a91384e6
commit a9e6c8bb9c
2 changed files with 2 additions and 6 deletions

View file

@ -462,7 +462,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
//#endregion
if (Object.keys(updates).length > 0) {
await this.usersRepository.update(user.id, updates);
//this.globalEventService.publishInternalEvent('localUserUpdated', { id: user.id });
this.globalEventService.publishInternalEvent('localUserUpdated', { id: user.id });
}
await this.userProfilesRepository.update(user.id, {
@ -488,7 +488,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
}
// フォロワーにUpdateを配信
//this.accountUpdateService.publishToFollowers(user.id);
this.accountUpdateService.publishToFollowers(user.id);
const urls = updatedProfile.fields.filter(x => x.value.startsWith('https://'));
for (const url of urls) {