Fix ownership broadcast channel

This commit is contained in:
yflory 2021-03-15 14:54:07 +01:00
parent 8ebefb0456
commit a03e2546e5

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