mirror of
https://github.com/hexastack/hexabot
synced 2025-05-05 21:34:41 +00:00
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
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:
commit
06b0e54dbc
@ -250,11 +250,6 @@ export class ChatService {
|
|||||||
// Already existing user profile
|
// Already existing user profile
|
||||||
// Exec lastvisit hook
|
// Exec lastvisit hook
|
||||||
this.eventEmitter.emit('hook:user:lastvisit', subscriber);
|
this.eventEmitter.emit('hook:user:lastvisit', subscriber);
|
||||||
this.websocketGateway.broadcast(
|
|
||||||
subscriber,
|
|
||||||
event.getEventType(),
|
|
||||||
event._adapter.raw,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.websocketGateway.broadcastSubscriberUpdate(subscriber);
|
this.websocketGateway.broadcastSubscriberUpdate(subscriber);
|
||||||
|
Loading…
Reference in New Issue
Block a user