Commit 52ffe3e5 by Takatoshi Miura

Merge branch 'origin/ABCOMM-652_finish_collaboration' into 'develop'

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

See merge request !130
parents 9f1389a6 0be80ec1
...@@ -317,7 +317,13 @@ function Coview_exitCollaboration(isDocument = false) { ...@@ -317,7 +317,13 @@ function Coview_exitCollaboration(isDocument = false) {
} }
clearInterval(timeInterval); clearInterval(timeInterval);
coview_api.LeaveRoom(); 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; isLeaved = true;
if (collaborationJoinFlg != '2') { if (collaborationJoinFlg != '2') {
CHAT_UI.joinRoom( 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