Explorar o código

added a todo comment

kaori %!s(int64=4) %!d(string=hai) anos
pai
achega
08a1331c72
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  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 });
+      // }
     });
   }