Re-join the mailboxes channels when reconnecting
This commit is contained in:
parent
ac5060d5dd
commit
64b0a8c5e3
@ -197,6 +197,7 @@ proxy.mailboxes = {
|
|||||||
owners: [ctx.store.proxy.edPublic],
|
owners: [ctx.store.proxy.edPublic],
|
||||||
lastKnownHash: m.lastKnownHash
|
lastKnownHash: m.lastKnownHash
|
||||||
};
|
};
|
||||||
|
cfg.onConnectionChange = function () {}; // Allow reconnections in chainpad-netflux
|
||||||
cfg.onConnect = function (wc, sendMessage) {
|
cfg.onConnect = function (wc, sendMessage) {
|
||||||
// Send a message to our box?
|
// Send a message to our box?
|
||||||
// NOTE: we use our own curvePublic so that we can decrypt our own message :)
|
// NOTE: we use our own curvePublic so that we can decrypt our own message :)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user