mirror of https://github.com/xwiki-labs/cryptpad
Enable chat in the poll app
This commit is contained in:
parent
9db9b132b6
commit
248b87a1e1
|
@ -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',
|
||||
|
|
|
@ -37,7 +37,8 @@ define([
|
|||
window.addEventListener('message', onMsg);
|
||||
}).nThen(function (/*waitFor*/) {
|
||||
SFCommonO.start({
|
||||
useCreationScreen: true
|
||||
useCreationScreen: true,
|
||||
messaging: true
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue