|
@@ -97,7 +97,9 @@ export class SocketGateway
|
|
|
// console.log('isRepeat', isRepeat);
|
|
|
if (!isRepeat) {
|
|
|
socket.join(message.roomId);
|
|
|
- await this.roomService.handleUserJoin(socket, message);
|
|
|
+ if (!message.isClient) {
|
|
|
+ await this.roomService.handleUserJoin(socket, message);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
async handleRepeatJoin(
|