ref |> 更新融云IM SDK 1.0.2 解决创建房间问题
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
2 changed files
with
1 additions
and
1 deletions
| @@ -37,7 +37,7 @@ export class LiveRoom extends ChatroomStatusListener { | @@ -37,7 +37,7 @@ export class LiveRoom extends ChatroomStatusListener { | ||
| 37 | let msgCount = 0; | 37 | let msgCount = 0; |
| 38 | 38 | ||
| 39 | Logger.debug(TAG, `will enterRoom roomId: ${roomId}`); | 39 | Logger.debug(TAG, `will enterRoom roomId: ${roomId}`); |
| 40 | - IMEngine.getInstance().joinExistingChatroom(roomId, msgCount).then(result => { | 40 | + IMEngine.getInstance().joinChatroom(roomId, msgCount).then(result => { |
| 41 | if (EngineError.Success !== result.code) { | 41 | if (EngineError.Success !== result.code) { |
| 42 | // 加入聊天室失败 | 42 | // 加入聊天室失败 |
| 43 | Logger.error(TAG, 'onChatroomJoinFailed roomId: ' + roomId + " code: " + result.code); | 43 | Logger.error(TAG, 'onChatroomJoinFailed roomId: ' + roomId + " code: " + result.code); |
This file is too large to display.
-
Please register or login to post a comment