From 6d2ebbcc363b2146b9063db30fdd4f26564654f6 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Thu, 16 Sep 2021 17:10:20 -0400 Subject: [PATCH] Send reply to init --- utils/GunSmith/gun.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/GunSmith/gun.js b/utils/GunSmith/gun.js index fe5352d5..0f99a745 100644 --- a/utils/GunSmith/gun.js +++ b/utils/GunSmith/gun.js @@ -94,6 +94,10 @@ const handleMsg = async msg => { logger.info('Connected peers:', currentPeers) }, 30000) user = gun.user() + + sendMsg({ + type: 'init' + }) } if (msg.type === 'auth') { const { alias, pass } = msg