mirror of
https://github.com/hexastack/hexabot
synced 2025-05-02 12:02:34 +00:00
fix: remove unecessary ws broadcast
This commit is contained in:
parent
84f25ecfb1
commit
28e3826e39
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user