Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
91c019f7
Commit
91c019f7
authored
Mar 09, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ルーム開設API修正。
parent
ab3b6567
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
public/js/chat-ui.js
+2
-4
public/js/constant.js
+6
-0
No files found.
public/js/chat-ui.js
View file @
91c019f7
...
@@ -1326,16 +1326,14 @@ CHAT_UI.refesshAllGroupSearch = function(groupId) {
...
@@ -1326,16 +1326,14 @@ CHAT_UI.refesshAllGroupSearch = function(groupId) {
}
}
CHAT_UI
.
startChat
=
function
(
userShopMemberId
,
userName
)
{
CHAT_UI
.
startChat
=
function
(
userShopMemberId
,
userName
)
{
console
.
log
(
CHAT
.
globalLoginParameter
.
shopMemberId
);
console
.
log
(
userShopMemberId
);
CHAT_UI
.
showLoadingIndicator
();
CHAT_UI
.
showLoadingIndicator
();
var
userIdList
=
[];
var
userIdList
=
[];
userIdList
.
push
(
userShopMemberId
);
userIdList
.
push
(
userShopMemberId
);
console
.
log
(
userIdList
);
// 参加ユーザ名でルーム名を生成
// 参加ユーザ名でルーム名を生成
let
newRoomName
=
CHAT
.
globalLoginParameter
.
loginId
+
','
+
userName
;
let
newRoomName
=
CHAT
.
globalLoginParameter
.
loginId
+
','
+
userName
;
android
.
createChatRoom
(
chatRoomType
.
DM
,
userIdList
.
join
(
','
),
newRoomName
);
android
.
createChatRoom
(
chatRoomType
.
DM
,
userIdList
.
join
(
','
),
newRoomName
);
CHAT_UI
.
hideNamecard
(
nameCardAreaId
.
USER
);
};
};
CHAT_UI
.
startVoice
=
function
()
{
CHAT_UI
.
startVoice
=
function
()
{
...
...
public/js/constant.js
View file @
91c019f7
...
@@ -25,3 +25,8 @@ const chatRoomType = {
...
@@ -25,3 +25,8 @@ const chatRoomType = {
DM
:
"1"
,
DM
:
"1"
,
GROUP
:
"0"
GROUP
:
"0"
}
}
const
nameCardAreaId
=
{
MY
:
"myNamecard"
,
USER
:
"userNamecard"
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment