Add a comment

pull/1/head
yflory 2018-10-05 18:04:48 +02:00
parent 7d3d3cf5ac
commit c127f0a5f6
1 changed files with 3 additions and 0 deletions

View File

@ -217,6 +217,9 @@ types of messages:
});
});
// network.onHistoryKeeperChange is defined in chainpad-netflux.js
// The function we pass will be called when the drive reconnects and
// chainpad-netflux detects a new history keeper id
if (network.onHistoryKeeperChange) {
network.onHistoryKeeperChange(function () {
send('COOKIE', "", function (e) {