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

pull/1/head
David Benqué 2021-03-15 14:10:22 +00:00
commit 526a369940
2 changed files with 7 additions and 5 deletions

View File

@ -995,12 +995,14 @@ define([
return UI.warn(Messages.error);
}
// Clear the UI
reset();
onRefreshBroadcast.fire();
// 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();
}
});
};

View File

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