mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 03:40:25 +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)) {
|
if (this.userEntityService.isLocalUser(followee)) {
|
||||||
this.userEntityService.pack(followee, followee, {
|
this.globalEventService.publishMainStream(followee.id, 'meUpdated');
|
||||||
schema: 'MeDetailed',
|
|
||||||
}).then(packed => this.globalEventService.publishMainStream(followee.id, 'meUpdated', packed));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.userEntityService.isLocalUser(follower) && !silent) {
|
if (this.userEntityService.isLocalUser(follower) && !silent) {
|
||||||
|
|
|
@ -212,10 +212,7 @@ export class ServerService implements OnApplicationShutdown {
|
||||||
emailVerifyCode: null,
|
emailVerifyCode: null,
|
||||||
});
|
});
|
||||||
|
|
||||||
this.globalEventService.publishMainStream(profile.userId, 'meUpdated', await this.userEntityService.pack(profile.userId, { id: profile.userId }, {
|
this.globalEventService.publishMainStream(profile.userId, 'meUpdated');
|
||||||
schema: 'MeDetailed',
|
|
||||||
includeSecrets: true,
|
|
||||||
}));
|
|
||||||
|
|
||||||
reply.code(200).send('Verification succeeded! メールアドレスの認証に成功しました。');
|
reply.code(200).send('Verification succeeded! メールアドレスの認証に成功しました。');
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue