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
0ab4d255
Commit
0ab4d255
authored
Aug 30, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hotfix for collaboration type number converting
parent
3a8d2859
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
public_new/js/utils/chat-util.js
+10
-0
No files found.
public_new/js/utils/chat-util.js
View file @
0ab4d255
...
...
@@ -132,14 +132,24 @@ CHAT_UTIL.getCollaborationType = function (collaborationNumber) {
CHAT_UTIL
.
getCollaborationTypeNumber
=
function
(
collaborationType
)
{
switch
(
collaborationType
)
{
case
0
:
case
"0"
:
case
COLLABORATION_TYPE
.
AUDIO
:
return
COLLABORATION_TYPE_NUMBER
.
AUDIO
;
case
2
:
case
"2"
:
case
COLLABORATION_TYPE
.
CAMERA
:
return
COLLABORATION_TYPE_NUMBER
.
CAMERA
;
case
3
:
case
"3"
:
case
COLLABORATION_TYPE
.
VIDEO
:
return
COLLABORATION_TYPE_NUMBER
.
VIDEO
;
case
4
:
case
"4"
:
case
COLLABORATION_TYPE
.
DOCUMENT
:
return
COLLABORATION_TYPE_NUMBER
.
DOCUMENT
;
case
5
:
case
"5"
:
case
COLLABORATION_TYPE
.
BOARD
:
return
COLLABORATION_TYPE_NUMBER
.
BOARD
;
default
:
...
...
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