xugenyuan

ref |> 更新融云IM SDK 1.0.2 解决创建房间问题

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
@@ -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);