Selaa lähdekoodia

buildRoom is not undefined

gemercheung 3 vuotta sitten
vanhempi
commit
9e9135504b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/controller/room/assistant.js

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

@@ -195,7 +195,7 @@ export class RoomAssistant {
     if (hasRoom) {
       await this.redis.hSet(getInKey(roomId), userId, JSON.stringify(user));
     } else {
-      await buildRoom(roomId, userId, user);
+      await this.buildRoom(roomId, userId, user);
       this.room.logger.error("不存在房间", roomId);
     }
     if (!isJoinRoom) {