Skip to content

Commit

Permalink
SAK-29586 Force to disable video chat when using IExplorer
Browse files Browse the repository at this point in the history
SAK-29586 Force to disable video chat when using IExplorer
  • Loading branch information
sinmsinm committed Jun 26, 2015
1 parent 0f48807 commit 7ce6400
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions portal/portal-charon/charon/src/webapp/scripts/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@
if (portal.chat.video.enabled) {
if (portal.chat.debug) console.debug('Setting up the video chat bar ...');
this.setupVideoChatBar(peerUUID, !portal.chat.video.webrtc.isVideoEnabled() || !portal.chat.video.hasRemoteVideoAgent(peerUUID), minimised);
} else {
this.setupVideoChatBar(peerUUID, true, minimised);
}

return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

var msiePattern = /.*MSIE ((\d+).\d+).*/
if ( msiePattern.test(navigator.userAgent) ) {
portal.chat.video.enabled=false;
return;
}

Expand Down

0 comments on commit 7ce6400

Please sign in to comment.