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