Commit 942249fa by Kim Peace

Merge branch 'origin/#42573_exist_room' into 'release_sp3'

既存ルームが存在する場合、アラートを表示するように修正

See merge request !85
parents 42ec00f5 a4829cbb
...@@ -2430,7 +2430,11 @@ CHAT_UI.refreshForOffline = function() { ...@@ -2430,7 +2430,11 @@ CHAT_UI.refreshForOffline = function() {
CHAT_UI.displayExistRoom = function(roomId) { CHAT_UI.displayExistRoom = function(roomId) {
if (confirm('error_already_exist_same_user')) { if (confirm('error_already_exist_same_user')) {
android.joinRoom(roomId, ''); if (CHAT_UTIL.isIOS()) {
webkit.messageHandlers.joinRoom.postMessage({"roomId": roomId});
} else if (CHAT_UTIL.isAndroid()) {
android.joinRoom(roomId, '');
}
} }
return; return;
} }
......
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