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 handleDisconnect (socket: Socket): Promise<void> {
await this.onLeaveChannel(socket)
}
async handleDisconnect (socket: Socket): Promise<void> {}
@SubscribeMessage('joinChannel')
async onJoinChannel (socket: Socket, connect: ConnectionDto): Promise<void> {

Loading…
Cancel
Save