Browse Source

assistant socket fixed

gemercheung 3 years ago
parent
commit
e03c2e94bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/controller/room/assistant.js

+ 1 - 1
src/controller/room/assistant.js

@@ -159,7 +159,7 @@ export class RoomAssistant {
     try {
       if (!this.room.isHoster(user.role)) {
         this.room.logger.info("不是房主", JSON.stringify(user));
-        await this.joinRoom(roomId, userId, user, socket);
+        await this.joinRoom(roomId, userId, user);
       } else {
         const hasRoom = await this.redis.hVals(roomId);
         if (hasRoom.length === 0) {