@ -40,6 +40,7 @@ define([
});
}
return $block;
};
Msg.createOwnedChannel = function (common, channelId, validateKey, owners, cb) {
@ -86,7 +87,7 @@ define([
common.changeDisplayName(proxy[common.displayNameKey]);
var createData = function (common, hash) {
var createData = Msg.createData = function (common, hash) {
var proxy = common.getProxy();
return {
channel: hash || common.createChannelId(),
@ -113,6 +113,10 @@ define([
// Messaging
common.addDirectMessageHandler = Messaging.addDirectMessageHandler;
common.inviteFromUserlist = Messaging.inviteFromUserlist;
common.createOwnedChannel = Messaging.createOwnedChannel;
common.getFriendList = Messaging.getFriendList;
common.getFriendListUI = Messaging.getFriendListUI;
common.createData = Messaging.createData;
// Userlist
common.createUserList = UserList.create;
@ -36,7 +36,8 @@ define([
var toolbar = APP.toolbar = Toolbar.create(configTb);
toolbar.$rightside.html(''); // Remove the drawer if we don't use it to hide the toolbar
Cryptpad.getFriendListUI(Cryptpad).appendTo($list);
Cryptpad.removeLoadingScreen();