diff options
| author | Ev Bogue <ev@evbogue.com> | 2019-07-12 18:20:56 -0500 | 
|---|---|---|
| committer | Ev Bogue <ev@evbogue.com> | 2019-07-12 18:20:56 -0500 | 
| commit | 46f6b7ba966fddfddebf06a132ecd991f3ddab0b (patch) | |
| tree | e5a8163a24a8479ddf866eaf061d8923310f4ccc | |
| parent | 5950fec6b8dddd0ce894dedff5b6cf3f170d6bd7 (diff) | |
turn off console.logs
| -rw-r--r-- | bog.js | 2 | 
1 files changed, 0 insertions, 2 deletions
| @@ -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. | 
