kaori 4 лет назад
Родитель
Сommit
08a1331c72
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      packages/app/src/server/service/in-app-notification.ts

+ 4 - 3
packages/app/src/server/service/in-app-notification.ts

@@ -22,9 +22,10 @@ class InAppNotificationService {
     this.commentEvent.on('update', (user) => {
       this.commentEvent.onUpdate();
 
-      if (this.socketIoService.isInitialized) {
-        this.socketIoService.getDefaultSocket().emit('comment updated', { user });
-      }
+      // TODO: socket.on on the client side by GW-7402
+      // if (this.socketIoService.isInitialized) {
+      //   this.socketIoService.getDefaultSocket().emit('comment updated', { user });
+      // }
     });
   }