Commit 7cdff7a7 by Kim Eunchul

【ABook Communication】通話終了しても通話終了されなく、「参加する」メッセージのままになる。

parent b4c29715
......@@ -224,7 +224,11 @@ NativeBridgeDelegate.finishCollaboration = function (needsAndroid = false) {
if (deviceInfo.isiOS()) {
webkit.messageHandlers.finishCollaboration.postMessage({});
} else if (needsAndroid) {
android.finishCollaboration();
try {
android.finishCollaboration();
} catch (error) {
console.error(error);
}
}
};
......
......@@ -438,7 +438,7 @@ CoviewBridge.finishCollaboration = function () {
Common.showLoadingIndicator();
coview_api.LeaveRoom();
if (coview_api.getRoomUsers()) {
NativeBridgeDelegate.finishCollaboration();
NativeBridgeDelegate.finishCollaboration(true);
}
globalUserInfo.isLeaved = true;
......
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