From 56ff47af48d695412bc9ac908f5dde9fa4d7f548 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 24 Jan 2019 16:43:05 +0100 Subject: [PATCH] Enable chat in OO apps --- www/common/onlyoffice/inner.js | 3 ++- www/common/onlyoffice/main.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index 350faa1ce..0e358f386 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -750,6 +750,7 @@ define([ var configTb = { displayed: [ + 'chat', 'userlist', 'title', 'useradmin', @@ -827,8 +828,8 @@ define([ initializing = false; setEditable(!readOnly); UI.removeLoadingScreen(); + common.openPadChat(APP.onLocal); }); - }; config.onRemote = function () { diff --git a/www/common/onlyoffice/main.js b/www/common/onlyoffice/main.js index 331b83621..75f87815c 100644 --- a/www/common/onlyoffice/main.js +++ b/www/common/onlyoffice/main.js @@ -103,7 +103,8 @@ define([ SFCommonO.start({ type: 'oo', addData: addData, - addRpc: addRpc + addRpc: addRpc, + messaging: true }); }); });