2
0
kaori 4 жил өмнө
parent
commit
46ead45c0c

+ 0 - 1
packages/app/src/server/models/notification.ts

@@ -196,7 +196,6 @@ export default (crowi: Crowi) => {
 
   notificationEvent.on('update', (user) => {
     const { socketIoService } = crowi;
-    socketIoService.getDefaultSocket();
 
     if (socketIoService.isInitialized) {
       socketIoService.getDefaultSocket().emit('notification updated', { user });