mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: synchronized sended messages for the same accounts
This commit is contained in:
@@ -253,6 +253,11 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user