From 3d6b97490b6ed5917824e403d3fdff78610d16f8 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Mon, 26 Nov 2018 22:27:55 -0400 Subject: [PATCH] pubKey was being displayed incorrectly --- src/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 57b1594..abd33df 100644 --- a/src/index.js +++ b/src/index.js @@ -152,7 +152,6 @@ ui.logEntry(`Rejoining Channels....`); if (JSON.parse(data.payload)[1][1] === 'content/json') { handleProtocolMessages(data.username, data); } else { - ui.logEntry(data.payload); channels.addMessage(data.username, msg, data.data.sig, data.username) } }) @@ -211,7 +210,7 @@ ui.logEntry(`Rejoining Channels....`); const channel = channels.getCurrentChannel(); if(channel.pubKey){ status.sendMessage(channel.pubKey, cmd); - channels.addMessage(channel.name, cmd, pubKey, userName); + channels.addMessage(channel.name, cmd, channel.pubKey, userName); } else { status.sendMessage(channel.name, cmd); }