Commit 4d107e23 by Kang Donghun

ルームタイプによって協業中にユーザー招待ボタンを非表示にするように修正

parent 7df31a73
...@@ -139,10 +139,10 @@ public class ShowPushMessageDailogActivity extends ABVUIActivity { ...@@ -139,10 +139,10 @@ public class ShowPushMessageDailogActivity extends ABVUIActivity {
Logger.d("tempDate","date : " + tempDate); Logger.d("tempDate","date : " + tempDate);
} }
if (!StringUtil.isNullOrEmpty(collaborationType)) { if (StringUtil.isNullOrEmpty(collaborationType)) {
ActivityHandlingHelper.getInstance().startChatWebviewActivityWithCollaboration(roomId, roomName, collaborationType);
} else {
ActivityHandlingHelper.getInstance().startChatWebviewActivity(roomId, roomName); ActivityHandlingHelper.getInstance().startChatWebviewActivity(roomId, roomName);
} else {
ActivityHandlingHelper.getInstance().startChatWebviewActivityWithCollaboration(roomId, roomName, collaborationType);
} }
} }
} }
......
...@@ -273,8 +273,8 @@ public class ChatWebviewActivity extends ParentWebViewActivity { ...@@ -273,8 +273,8 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
e.printStackTrace(); e.printStackTrace();
} }
Integer integerRoomId = Integer.parseInt(roomId.toString()); Integer integerRoomId = Integer.parseInt(roomId.toString());
roomType = communicationLogic.getChatRoom(integerRoomId).type.toString();
if (StringUtil.isNullOrEmpty(collaborationType)) { if (StringUtil.isNullOrEmpty(collaborationType)) {
roomType = communicationLogic.getChatRoom(integerRoomId).type.toString();
String parameterData = "sid=" + sid + "&loginId=" + loginId + "&shopName=" + shopName + "&roomId=" + roomId + "&roomName=" + roomName + fixedParam; String parameterData = "sid=" + sid + "&loginId=" + loginId + "&shopName=" + shopName + "&roomId=" + roomId + "&roomName=" + roomName + fixedParam;
mChatWebView.postUrl(CHAT_ROOM_PAGE_URL, parameterData.getBytes()); mChatWebView.postUrl(CHAT_ROOM_PAGE_URL, parameterData.getBytes());
} else { } else {
......
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