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
569915e1
Commit
569915e1
authored
Jun 03, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
協業終了のフラグ追加
parent
63a5d405
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
public_new/js/chat-ui.js
+2
-2
public_new/js/chat-websocket.js
+4
-0
public_new/js/constant.js
+2
-1
No files found.
public_new/js/chat-ui.js
View file @
569915e1
...
...
@@ -2630,8 +2630,8 @@ CHAT_UI.startCollaboration = function(collaborationType) {
return
;
}
socket
.
emit
(
'createMessage'
,
{
text
:
encodedText
+
messageSeperator
+
messageType
.
IMAGE
},
1
);
text
:
DATA_MESSAGE_SCHEME
+
FINISH_ALL_COLLABORATION_SIGNAL
},
0
);
android
.
finishAllCollaboration
();
}
...
...
public_new/js/chat-websocket.js
View file @
569915e1
...
...
@@ -196,6 +196,10 @@ function setSocketAction () {
}
let
type
;
let
collaborationType
;
if
(
message
.
text
==
DATA_MESSAGE_SCHEME
+
FINISH_ALL_COLLABORATION_SIGNAL
)
{
console
.
log
(
'allFINISH'
);
return
;
}
if
(
message
.
text
.
includes
(
messageSeperator
)
)
{
let
text
=
message
.
text
.
split
(
messageSeperator
);
message
.
text
=
text
[
0
];
...
...
public_new/js/constant.js
View file @
569915e1
...
...
@@ -68,4 +68,5 @@ const HOST_REQUEST_FLG = {
}
const
messageSeperator
=
"<::split>"
;
const
dataMessageScheme
=
"::NOT_MESSAGE"
;
const
DATA_MESSAGE_SCHEME
=
"::NOT_MESSAGE"
;
const
FINISH_ALL_COLLABORATION_SIGNAL
=
"::ALL_COLLABORATION_END"
;
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