diff --git a/packages/backend/src/core/UserBlockingService.ts b/packages/backend/src/core/UserBlockingService.ts index 2f1310b8ef..531f1d5d14 100644 --- a/packages/backend/src/core/UserBlockingService.ts +++ b/packages/backend/src/core/UserBlockingService.ts @@ -108,9 +108,7 @@ export class UserBlockingService implements OnModuleInit { }); if (this.userEntityService.isLocalUser(followee)) { - this.userEntityService.pack(followee, followee, { - schema: 'MeDetailed', - }).then(packed => this.globalEventService.publishMainStream(followee.id, 'meUpdated', packed)); + this.globalEventService.publishMainStream(followee.id, 'meUpdated'); } if (this.userEntityService.isLocalUser(follower) && !silent) { diff --git a/packages/backend/src/server/ServerService.ts b/packages/backend/src/server/ServerService.ts index fd2bd3267d..96a019948e 100644 --- a/packages/backend/src/server/ServerService.ts +++ b/packages/backend/src/server/ServerService.ts @@ -212,10 +212,7 @@ export class ServerService implements OnApplicationShutdown { emailVerifyCode: null, }); - this.globalEventService.publishMainStream(profile.userId, 'meUpdated', await this.userEntityService.pack(profile.userId, { id: profile.userId }, { - schema: 'MeDetailed', - includeSecrets: true, - })); + this.globalEventService.publishMainStream(profile.userId, 'meUpdated'); reply.code(200).send('Verification succeeded! メールアドレスの認証に成功しました。'); return;