Merge pull request #469 from Hexastack/fix/unecessary-ws-broad
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker NLU Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run

fix: remove unecessary ws broadcast
This commit is contained in:
Med Marrouchi
2024-12-19 14:51:10 +01:00
committed by GitHub

View File

@@ -250,11 +250,6 @@ export class ChatService {
// Already existing user profile
// Exec lastvisit hook
this.eventEmitter.emit('hook:user:lastvisit', subscriber);
this.websocketGateway.broadcast(
subscriber,
event.getEventType(),
event._adapter.raw,
);
}
this.websocketGateway.broadcastSubscriberUpdate(subscriber);