feat(remotecontrol): Make sure the receiver is always sharing entire screen

This commit is contained in:
hristoterezov
2017-07-09 16:34:08 -05:00
parent 1a9a8a2098
commit dc8198100b
6 changed files with 84 additions and 33 deletions

View File

@@ -94,7 +94,8 @@ class RemoteControlAuthorizationDialog extends Component {
_getAdditionalMessage() {
// FIXME: Once we have this information in redux we should
// start getting it from there.
if (APP.conference.isSharingScreen) {
if (APP.conference.isSharingScreen
&& APP.conference.getDesktopSharingSourceType() === 'screen') {
return null;
}