diff --git a/www/common/sframe-chainpad-netflux-inner.js b/www/common/sframe-chainpad-netflux-inner.js index 7024bcfe3..b6f4c6aaf 100644 --- a/www/common/sframe-chainpad-netflux-inner.js +++ b/www/common/sframe-chainpad-netflux-inner.js @@ -112,11 +112,16 @@ define([ }); sframeChan.on('EV_RT_CONNECT', function (content) { //content.members.forEach(userList.onJoin); + if (isReady && myID === content.myID) { + // We are connected and we are "reconnecting" ==> we probably had to rejoin + // the channel because of a server error (enoent), don't update the toolbar + return; + } isReady = false; if (myID) { // it's a reconnect myID = content.myID; - chainpad.start(); + //chainpad.start(); onConnectionChange({ state: true, myId: myID }); return; }