From 3c3253f84ae3093b92c228b1d4afcf98e6bc5c4a Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Sat, 27 Sep 2025 19:56:13 -0400 Subject: [PATCH] remove duplicate event from CacheService --- packages/backend/src/core/CacheService.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/backend/src/core/CacheService.ts b/packages/backend/src/core/CacheService.ts index d2fe988c6f..e31377771d 100644 --- a/packages/backend/src/core/CacheService.ts +++ b/packages/backend/src/core/CacheService.ts @@ -277,7 +277,6 @@ export class CacheService implements OnApplicationShutdown { this.internalEventService.on('userChangeDeletedState', this.onUserEvent); this.internalEventService.on('remoteUserUpdated', this.onUserEvent); this.internalEventService.on('localUserUpdated', this.onUserEvent); - this.internalEventService.on('userChangeSuspendedState', this.onUserEvent); this.internalEventService.on('userTokenRegenerated', this.onTokenEvent); this.internalEventService.on('follow', this.onFollowEvent); this.internalEventService.on('unfollow', this.onFollowEvent); @@ -582,7 +581,6 @@ export class CacheService implements OnApplicationShutdown { this.internalEventService.off('userChangeDeletedState', this.onUserEvent); this.internalEventService.off('remoteUserUpdated', this.onUserEvent); this.internalEventService.off('localUserUpdated', this.onUserEvent); - this.internalEventService.off('userChangeSuspendedState', this.onUserEvent); this.internalEventService.off('userTokenRegenerated', this.onTokenEvent); this.internalEventService.off('follow', this.onFollowEvent); this.internalEventService.off('unfollow', this.onFollowEvent);