Commit 0d400d67 by Kim Jinsung

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

parent d10b9423
...@@ -469,10 +469,7 @@ document.addEventListener("DOMContentLoaded", function () { ...@@ -469,10 +469,7 @@ document.addEventListener("DOMContentLoaded", function () {
if (deleteRoomResult.resultCode == 200) { if (deleteRoomResult.resultCode == 200) {
await new Promise(done => setTimeout(() => done(), 3000)); await new Promise(done => setTimeout(() => done(), 3000));
} }
coview_api.CreateRoom(
globalUserInfo.roomId,
globalUserInfo.coWorkType
);
if (isDocument) { if (isDocument) {
if (CHAT_UTIL.isIOS()) { if (CHAT_UTIL.isIOS()) {
meetingId = CHAT_DB.createContentView(); meetingId = CHAT_DB.createContentView();
...@@ -481,6 +478,14 @@ document.addEventListener("DOMContentLoaded", function () { ...@@ -481,6 +478,14 @@ document.addEventListener("DOMContentLoaded", function () {
} }
joinMeetingId = meetingId; joinMeetingId = meetingId;
} }
if (joinMeetingId == "-1") { //会議室作成失敗
Coview_finishCollaboration();
return;
}
coview_api.CreateRoom(
globalUserInfo.roomId,
globalUserInfo.coWorkType
);
} else if (collaborationJoinFlg == "2") { } else if (collaborationJoinFlg == "2") {
isInvited = InvitedFlag.INVITED; isInvited = InvitedFlag.INVITED;
coview_api.JoinRoom(globalUserInfo.roomId, globalUserInfo.coWorkType); coview_api.JoinRoom(globalUserInfo.roomId, globalUserInfo.coWorkType);
...@@ -650,6 +655,10 @@ function changeCollaboration(changeCollaborationType) { ...@@ -650,6 +655,10 @@ function changeCollaboration(changeCollaborationType) {
newMeetingId = android.createContentView(); newMeetingId = android.createContentView();
console.log("newMeetingId = " + newMeetingId); console.log("newMeetingId = " + newMeetingId);
} }
if (newMeetingId == "-1") { //会議室作成失敗
Coview_finishCollaboration();
return;
}
break; break;
case COLLABORATION_TYPE.BOARD: case COLLABORATION_TYPE.BOARD:
coview_api.ChangeCollaboration("audio"); 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