|
@@ -90,7 +90,7 @@ export class RoomController extends BasicController {
|
|
|
}
|
|
|
|
|
|
const userObj = { ...this.user, onlineStatus: 1, isConnected: true, order };
|
|
|
- const assistantId = this.roomAssistant.getRoomAssistant(this.roomId);
|
|
|
+ const assistantId = await this.roomAssistant.getRoomAssistant(this.roomId);
|
|
|
|
|
|
if (assistantId && this.userId !== assistantId && !this.isHoster(this.user.role)) {
|
|
|
this.logger.info("已存在默认助手变更:" + "room助手ID:" + assistantId + "userId: " + this.userId);
|