Commit 73d23839 by Kim Jinsung

プッシュメッセージ一覧及びプッシュメッセージからルーム接続時にルーム名が切られるのでDBから取得するように修正(iOS同様)

parent f1f7ce4c
......@@ -162,6 +162,12 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity implements
chatData.setSid(intent.getStringExtra(ABookCommConstants.KEY.SID));
chatData.setRoomID(intent.getLongExtra(ABookCommConstants.KEY.ROOM_ID, 0));
chatData.roomName = intent.getStringExtra(ABookCommConstants.KEY.ROOM_NAME);
//ルーム名をDBから取得
Integer integerRoomId = Integer.parseInt(chatData.roomId.toString());
ChatRoomDto dto = communicationLogic.getChatRoom(integerRoomId);
if (dto != null) {
chatData.roomName = dto.chatRoomName;
}
chatData.roomType = intent.getStringExtra(ABookCommConstants.KEY.ROOM_TYPE);
chatData.loginId = intent.getStringExtra(ABookCommConstants.KEY.LOGIN_ID);
chatData.shopName = intent.getStringExtra(ABookCommConstants.KEY.SHOP_NAME);
......
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