Fixes showing etherpad in follow-me mode.

This commit is contained in:
damencho 2019-10-17 13:39:01 +01:00
parent a35099f949
commit 5cafc4bcbd
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
// against calling a web-app global.
if (typeof APP !== 'undefined'
&& state['features/etherpad'].initialized
&& oldState.sharedDocumentVisible !== attributes.sharedDocumentVisible) {
const isEtherpadVisible = attributes.sharedDocumentVisible === 'true';
const documentManager = APP.UI.getSharedDocumentManager();