Merge remote-tracking branch 'origin/broadcast' into broadcast

pull/1/head
David Benqué 4 years ago
commit 526a369940

@ -995,12 +995,14 @@ define([
return UI.warn(Messages.error); return UI.warn(Messages.error);
} }
// Only print success if there is no callback
if (!_cb) {
UI.log(Messages.saved);
// Clear the UI // Clear the UI
reset(); reset();
onRefreshBroadcast.fire(); onRefreshBroadcast.fire();
}
// Only print success if there is no callback
if (!_cb) { UI.log(Messages.saved); }
}); });
}; };

@ -281,7 +281,7 @@ proxy.mailboxes = {
channel: m.channel, channel: m.channel,
noChainPad: true, noChainPad: true,
crypto: crypto, crypto: crypto,
owners: opts.owners || [ctx.store.proxy.edPublic], owners: type === 'broadcast' ? [] : (opts.owners || [ctx.store.proxy.edPublic]),
lastKnownHash: m.lastKnownHash lastKnownHash: m.lastKnownHash
}; };
cfg.onConnectionChange = function () {}; // Allow reconnections in chainpad-netflux cfg.onConnectionChange = function () {}; // Allow reconnections in chainpad-netflux

Loading…
Cancel
Save