Commit 91c019f7 by Lee Munkyeong

ルーム開設API修正。

parent ab3b6567
......@@ -1326,16 +1326,14 @@ CHAT_UI.refesshAllGroupSearch = function(groupId) {
}
CHAT_UI.startChat = function (userShopMemberId,userName) {
console.log(CHAT.globalLoginParameter.shopMemberId);
console.log(userShopMemberId);
CHAT_UI.showLoadingIndicator();
var userIdList = [];
userIdList.push(userShopMemberId);
console.log(userIdList);
// 参加ユーザ名でルーム名を生成
let newRoomName = CHAT.globalLoginParameter.loginId + ',' +userName;
android.createChatRoom(chatRoomType.DM, userIdList.join(','),newRoomName);
CHAT_UI.hideNamecard(nameCardAreaId.USER);
};
CHAT_UI.startVoice = function () {
......
......@@ -25,3 +25,8 @@ const chatRoomType = {
DM : "1",
GROUP : "0"
}
const nameCardAreaId = {
MY : "myNamecard",
USER : "userNamecard"
}
\ No newline at end of file
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