Commit 0d400d67 by Kim Jinsung

Bug #43227 新規インストールやアップデート後に文書協業を開くと「会議室サーバに接続できませんでした」と、アラート表示される

parent d10b9423
......@@ -469,10 +469,7 @@ document.addEventListener("DOMContentLoaded", function () {
if (deleteRoomResult.resultCode == 200) {
await new Promise(done => setTimeout(() => done(), 3000));
}
coview_api.CreateRoom(
globalUserInfo.roomId,
globalUserInfo.coWorkType
);
if (isDocument) {
if (CHAT_UTIL.isIOS()) {
meetingId = CHAT_DB.createContentView();
......@@ -481,6 +478,14 @@ document.addEventListener("DOMContentLoaded", function () {
}
joinMeetingId = meetingId;
}
if (joinMeetingId == "-1") { //会議室作成失敗
Coview_finishCollaboration();
return;
}
coview_api.CreateRoom(
globalUserInfo.roomId,
globalUserInfo.coWorkType
);
} else if (collaborationJoinFlg == "2") {
isInvited = InvitedFlag.INVITED;
coview_api.JoinRoom(globalUserInfo.roomId, globalUserInfo.coWorkType);
......@@ -650,6 +655,10 @@ function changeCollaboration(changeCollaborationType) {
newMeetingId = android.createContentView();
console.log("newMeetingId = " + newMeetingId);
}
if (newMeetingId == "-1") { //会議室作成失敗
Coview_finishCollaboration();
return;
}
break;
case COLLABORATION_TYPE.BOARD:
coview_api.ChangeCollaboration("audio");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment