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
b1a9a341
Commit
b1a9a341
authored
Sep 17, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bug/coview_login' into 'develop'
Added coview login retry process See merge request
!258
parents
9fdd2c5a
609724fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
public_new/js/views/collaboration/share-event-listener.js
+16
-5
No files found.
public_new/js/views/collaboration/share-event-listener.js
View file @
b1a9a341
...
...
@@ -7,12 +7,23 @@ CoviewBridge.bindReadyEvent = function () {
// add login ID if not exist
CoviewBridge
.
addLoginID
(
globalUserInfo
.
loginId
);
coview_api
.
Login
(
globalUserInfo
.
loginId
);
CollaborationUI
.
updateScreen
(
globalUserInfo
.
collaborationType
);
NativeBridgeDelegate
.
setHostRequestFlg
(
HostRequestFlag
.
DONE
);
CoviewBridge
.
loginCoview
();
});
};
CoviewBridge
.
loginCoview
=
function
()
{
try
{
coview_api
.
Login
(
globalUserInfo
.
loginId
);
}
catch
(
err
)
{
setTimeout
(()
=>
{
CoviewBridge
.
loginCoview
();
},
1000
);
return
;
}
CollaborationUI
.
updateScreen
(
globalUserInfo
.
collaborationType
);
NativeBridgeDelegate
.
setHostRequestFlg
(
HostRequestFlag
.
DONE
);
};
CoviewBridge
.
bindFermiWebSocketOpenned
=
function
()
{
try
{
wc_api
.
addEventListener
(
"open"
,
async
function
(
event
)
{
...
...
@@ -254,7 +265,7 @@ CollaborationFeature.didReceivedJoinRoomInfoResponseMessage = function () {
CoviewBridge
.
changeHostFromModal
=
function
()
{
const
userID
=
CollaborationUI
.
openedNamecardUserID
;
// call in agent_app.js
coview_api
.
HostChange
(
userID
);
};
...
...
@@ -509,7 +520,7 @@ CoviewBridge.exitCollaboration = function () {
if
(
globalUserInfo
.
collaborationType
==
COLLABORATION_TYPE
.
DOCUMENT
)
{
NativeBridgeDelegate
.
exitMeetingRoom
();
}
if
(
$
(
"#recordBtn .record"
).
hasClass
(
"disable"
))
{
recordStop
().
then
(
function
()
{
CoviewBridge
.
finishCollaboration
();
...
...
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