mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 20:15:55 +02:00
enhance(backend): improve cache
This commit is contained in:
@@ -62,11 +62,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
||||
targetId: user.id,
|
||||
});
|
||||
|
||||
// Terminate streaming
|
||||
if (this.userEntityService.isLocalUser(user)) {
|
||||
this.globalEventService.publishUserEvent(user.id, 'terminate', {});
|
||||
}
|
||||
|
||||
(async () => {
|
||||
await this.userSuspendService.doPostSuspend(user).catch(e => {});
|
||||
await this.unFollowAll(user).catch(e => {});
|
||||
|
||||
Reference in New Issue
Block a user