Browse Source

* Removed leave on disconnect chat socket

master
vvandenb 2 years ago
parent
commit
95df4e046d
  1. 4
      back/volume/src/chat/chat.gateway.ts

4
back/volume/src/chat/chat.gateway.ts

@ -42,9 +42,7 @@ export class ChatGateway implements OnGatewayConnection, OnGatewayDisconnect {
async handleConnection (socket: Socket): Promise<void> {} async handleConnection (socket: Socket): Promise<void> {}
async handleDisconnect (socket: Socket): Promise<void> { async handleDisconnect (socket: Socket): Promise<void> {}
await this.onLeaveChannel(socket)
}
@SubscribeMessage('joinChannel') @SubscribeMessage('joinChannel')
async onJoinChannel (socket: Socket, connect: ConnectionDto): Promise<void> { async onJoinChannel (socket: Socket, connect: ConnectionDto): Promise<void> {

Loading…
Cancel
Save