Commit 9163ccee by Kim Peace

Fixed to hide loading indicator when create room already exist and doesnt move to decided

parent e6f0908c
......@@ -391,10 +391,10 @@ ReverseDelegate.leaveRoom = function () {
CHAT_SOCKET.emitLeaveRoom();
};
// for android call
ReverseDelegate.displayExistRoom = function (roomID) {
if (confirm("error_already_exist_same_user")) {
NativeBridgeDelegate.joinRoom(roomID);
}
NativeBridgeDelegate.hideLoadingIndicator();
return;
};
......@@ -105,11 +105,7 @@ ChatManagementCommon.showMakeRoomConfirmView = function () {
} else {
//loadingIndicatorを表示
Common.showLoadingIndicator();
let userIdList = new Array();
selectedUserList.forEach(function (user) {
userIdList.push(user.shopMemberId);
});
let userIdList = selectedUserList.map((user) => user.shopMemberId);
// TODO: check why here using trimmedroomname instead of encodedRoomName
// ルーム名のtrimmingした後、URIencodingを行う
......
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