Add a pad creation page
This commit is contained in:
@@ -742,6 +742,9 @@ define([
|
||||
}, // post EV_PAD_DISCONNECT
|
||||
channel: data.channel,
|
||||
validateKey: data.validateKey,
|
||||
owners: data.owners,
|
||||
password: data.password,
|
||||
expire: data.expire,
|
||||
network: store.network,
|
||||
readOnly: data.readOnly,
|
||||
onConnect: function (wc, sendMessage) {
|
||||
|
||||
@@ -33,6 +33,9 @@ define([], function () {
|
||||
var onLeave = conf.onLeave;
|
||||
var onReady = conf.onReady;
|
||||
var onDisconnect = conf.onDisconnect;
|
||||
var owners = conf.owners;
|
||||
var password = conf.password;
|
||||
var expire = conf.expire;
|
||||
conf = undefined;
|
||||
|
||||
var initializing = true;
|
||||
@@ -177,6 +180,13 @@ define([], function () {
|
||||
});
|
||||
network.historyKeeper = hk;
|
||||
|
||||
var cfg = {
|
||||
validateKey: validateKey,
|
||||
lastKnownHash: lastKnownHash,
|
||||
owners: owners,
|
||||
expire: expire,
|
||||
password: password
|
||||
};
|
||||
var msg = ['GET_HISTORY', wc.id];
|
||||
// Add the validateKey if we are the channel creator and we have a validateKey
|
||||
msg.push(validateKey);
|
||||
|
||||
Reference in New Issue
Block a user