mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 10:20:27 +01:00
replace remaining meUpdate events
This commit is contained in:
parent
a32092a8b2
commit
353882ebbe
2 changed files with 2 additions and 7 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue