From 64b0a8c5e3a28cacf3e54f25f4d562ddd1ba141a Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 24 May 2019 10:29:42 +0200 Subject: [PATCH] Re-join the mailboxes channels when reconnecting --- www/common/outer/mailbox.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/outer/mailbox.js b/www/common/outer/mailbox.js index f273ca5a5..3d45bee0f 100644 --- a/www/common/outer/mailbox.js +++ b/www/common/outer/mailbox.js @@ -197,6 +197,7 @@ proxy.mailboxes = { owners: [ctx.store.proxy.edPublic], lastKnownHash: m.lastKnownHash }; + cfg.onConnectionChange = function () {}; // Allow reconnections in chainpad-netflux cfg.onConnect = function (wc, sendMessage) { // Send a message to our box? // NOTE: we use our own curvePublic so that we can decrypt our own message :)