Commit 0be80ec1 by Takatoshi Miura

ABCOMM-652_finish_collaboration_ios協業終了処理を実装

parent 2fc3ca18
......@@ -317,7 +317,13 @@ function Coview_exitCollaboration(isDocument = false) {
}
clearInterval(timeInterval);
coview_api.LeaveRoom();
if (coview_api.getRoomUsers()) { android.finishCollaboration() };
if (coview_api.getRoomUsers()) {
if (CHAT_UTIL.isIOS()) {
webkit.messageHandlers.finishCollaboration.postMessage({});
} else if (CHAT_UTIL.isAndroid()) {
android.finishCollaboration()
}
};
isLeaved = true;
if (collaborationJoinFlg != '2') {
CHAT_UI.joinRoom(
......
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