gemercheung 3 năm trước cách đây
mục cha
commit
c5e829732f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/controller/room/assistant.js

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

@@ -336,10 +336,10 @@ export class RoomAssistant {
     } else {
       this.closeRoom(roomId, userId, user);
     }
-    this.removeRoomSession(this.room.sessionId);
+    this.removeRoomSession(this.room);
   }
 
-  removeRoomSession(roomSessionId) {
+  async removeRoomSession(roomSessionId) {
     await this.redis.del(getInKey(roomSessionId));
   }