Use the network from the async store for pads

This commit is contained in:
yflory
2017-12-04 19:16:38 +01:00
parent e164edec03
commit 52712c4bb9
8 changed files with 135 additions and 166 deletions

View File

@@ -581,7 +581,7 @@ define([
CpNfOuter.start({
sframeChan: sframeChan,
channel: secret.channel,
network: cfg.newNetwork || network,
padRpc: Cryptpad.padRpc,
validateKey: secret.keys.validateKey || undefined,
readOnly: readOnly,
crypto: Crypto.createEncryptor(secret.keys),