Merge pull request #4762 from jitsi/fix-etherpad-follow-me

Fixes showing etherpad in follow-me mode.
This commit is contained in:
yanas 2019-10-17 13:44:10 +01:00 committed by GitHub
commit 220691d61d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -139,7 +139,6 @@ function _onFollowMeCommand(attributes = {}, id, store) {
// For now gate etherpad checks behind a web-app check to be extra safe // For now gate etherpad checks behind a web-app check to be extra safe
// against calling a web-app global. // against calling a web-app global.
if (typeof APP !== 'undefined' if (typeof APP !== 'undefined'
&& state['features/etherpad'].initialized
&& oldState.sharedDocumentVisible !== attributes.sharedDocumentVisible) { && oldState.sharedDocumentVisible !== attributes.sharedDocumentVisible) {
const isEtherpadVisible = attributes.sharedDocumentVisible === 'true'; const isEtherpadVisible = attributes.sharedDocumentVisible === 'true';
const documentManager = APP.UI.getSharedDocumentManager(); const documentManager = APP.UI.getSharedDocumentManager();