Enable chat in the poll app

This commit is contained in:
yflory 2018-09-18 16:36:29 +02:00
parent 9db9b132b6
commit 248b87a1e1
2 changed files with 8 additions and 1 deletions

View File

@ -1092,6 +1092,11 @@ define([
Test(passIfOk);
}
// No need for onLocal in openPadChat because in poll, we listen for metadata changes
// and save them everytime.
// See `metadataMgr.onChange(function () {`
common.openPadChat(function () {});
UI.removeLoadingScreen();
var privateDat = metadataMgr.getPrivateData();
var skipTemp = Util.find(privateDat,
@ -1160,6 +1165,7 @@ define([
var configTb = {
displayed: [
'chat',
'userlist',
'title',
'useradmin',

View File

@ -37,7 +37,8 @@ define([
window.addEventListener('message', onMsg);
}).nThen(function (/*waitFor*/) {
SFCommonO.start({
useCreationScreen: true
useCreationScreen: true,
messaging: true
});
});
});