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
0c51f3b9
Commit
0c51f3b9
authored
May 10, 2021
by
Kang Donghun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release_sp3' into release_sp3_add_user
parents
3642add4
124722a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
public_new/js/chat-ui.js
+6
-6
No files found.
public_new/js/chat-ui.js
View file @
0c51f3b9
...
...
@@ -694,7 +694,7 @@ CHAT_UI.showConfirmView = function(isInvite) {
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
createChatRoom
(
"1"
,
userIdList
.
join
(
','
),
newRoomName
,
makeRoomFlg
.
MAKE_ROOM
,
false
);
}
else
{
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
newRoomName
,
"screenFlg"
:
makeRoomFlg
.
MAKE_ROOM
});
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
newRoomName
,
"screenFlg"
:
makeRoomFlg
.
MAKE_ROOM
,
"isVoice"
:
false
});
}
...
...
@@ -788,7 +788,7 @@ CHAT_UI.showConfirmView = function(isInvite) {
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
createChatRoom
(
"1"
,
userIdList
.
join
(
','
),
encodedRoomName
,
makeRoomFlg
.
MAKE_ROOM
,
false
);
}
else
{
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
newRoomName
,
"screenFlg"
:
makeRoomFlg
.
MAKE_ROOM
});
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
newRoomName
,
"screenFlg"
:
makeRoomFlg
.
MAKE_ROOM
,
"isVoice"
:
false
});
}
}
}
...
...
@@ -1637,7 +1637,7 @@ CHAT_UI.startChat = function(userShopMemberId,userName) {
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
createChatRoom
(
chatRoomType
.
DM
,
userIdList
.
join
(
','
),
newRoomName
,
makeRoomFlg
.
NAME_CARD
,
false
);
}
else
{
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
newRoomName
,
"screenFlg"
:
makeRoomFlg
.
NAME_CARD
});
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
newRoomName
,
"screenFlg"
:
makeRoomFlg
.
NAME_CARD
,
"isVoice"
:
false
});
}
};
...
...
@@ -1651,7 +1651,7 @@ CHAT_UI.startVoice = function(userShopMemberId, userName) {
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
createChatRoom
(
chatRoomType
.
DM
,
userIdList
.
join
(
','
),
newRoomName
,
makeRoomFlg
.
NAME_CARD
,
true
);
}
else
{
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
newRoomName
,
"screenFlg"
:
makeRoomFlg
.
NAME_CARD
});
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
newRoomName
,
"screenFlg"
:
makeRoomFlg
.
NAME_CARD
,
"isVoice"
:
true
});
}
CHAT_UI
.
startCollaboration
(
collaborationType
.
AUDIO
);
}
...
...
@@ -2131,7 +2131,7 @@ CHAT_UI.showMakeRoomConfirmView = function() {
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
createChatRoom
(
"1"
,
userIdList
.
join
(
','
),
newRoomName
,
makeRoomFlg
.
MAKE_ROOM
,
false
);
}
else
{
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
newRoomName
,
"screenFlg"
:
makeRoomFlg
.
MAKE_ROOM
});
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
newRoomName
,
"screenFlg"
:
makeRoomFlg
.
MAKE_ROOM
,
"isVoice"
:
false
});
}
}
else
if
(
trimmedRoomName
.
includes
(
';'
)
||
trimmedRoomName
.
includes
(
'/'
)
||
trimmedRoomName
.
includes
(
'?'
)
||
trimmedRoomName
.
includes
(
':'
)
||
trimmedRoomName
.
includes
(
"@"
)
||
trimmedRoomName
.
includes
(
'&'
)
||
trimmedRoomName
.
includes
(
'='
)
||
trimmedRoomName
.
includes
(
"+"
)
||
trimmedRoomName
.
includes
(
'$'
)
||
trimmedRoomName
.
includes
(
","
)
||
trimmedRoomName
.
includes
(
'-'
)
...
...
@@ -2178,7 +2178,7 @@ CHAT_UI.showMakeRoomConfirmView = function() {
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
createChatRoom
(
"1"
,
userIdList
.
join
(
','
),
trimmedRoomName
,
makeRoomFlg
.
MAKE_ROOM
,
false
);
}
else
{
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
trimmedRoomName
,
"screenFlg"
:
makeRoomFlg
.
MAKE_ROOM
});
webkit
.
messageHandlers
.
createChatRoom
.
postMessage
({
"roomType"
:
"1"
,
"userIdList"
:
userIdList
.
join
(
','
),
"roomName"
:
trimmedRoomName
,
"screenFlg"
:
makeRoomFlg
.
MAKE_ROOM
,
"isVoice"
:
false
});
}
}
});
...
...
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