Merge pull request #4762 from jitsi/fix-etherpad-follow-me
Fixes showing etherpad in follow-me mode.
This commit is contained in:
commit
220691d61d
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue