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);
} }
// Clear the UI
reset();
onRefreshBroadcast.fire();
// Only print success if there is no callback // Only print success if there is no callback
if (!_cb) { UI.log(Messages.saved); } if (!_cb) {
UI.log(Messages.saved);
// Clear the UI
reset();
onRefreshBroadcast.fire();
}
}); });
}; };

@ -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