From 46f6b7ba966fddfddebf06a132ecd991f3ddab0b Mon Sep 17 00:00:00 2001 From: Ev Bogue Date: Fri, 12 Jul 2019 18:20:56 -0500 Subject: turn off console.logs --- bog.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/bog.js b/bog.js index fa84fe5..c378ff4 100644 --- a/bog.js +++ b/bog.js @@ -64,11 +64,9 @@ function getName (id, keys) { for (var i = 0; i < log.length; i++ ) { if ((log[i].named === id) && (log[i].author === keys.publicKey)) { // if you've identified someone as something else show that something else - console.log('I NAMED THEM ' + log[i].name) return name.textContent = '@' + log[i].name } else if ((log[i].named === id) && (log[i].author === id)) { // else if show the name they gave themselves - console.log('THEY NAMED THEMSELVES ' + log[i].name) return name.textContent = '@' + log[i].name } // there should probably be some sort of sybil attack resiliance here (weight avatar name based on number of times used by individuals), but this will do for now. -- cgit v1.2.3-70-g09d2