Removing the names storage, not needed anymore
This commit is contained in:
parent
c671572572
commit
13cb96af14
@ -16,7 +16,6 @@ goodbye(() => swarm.destroy())
|
||||
|
||||
// Keep track of all connections and USERNAMEs
|
||||
const conns = []
|
||||
const names = {}
|
||||
let USERPWD = "/"
|
||||
let DAPI_KEY = {}
|
||||
let USERNAME = "annon" + rand
|
||||
@ -231,5 +230,5 @@ const discovery = swarm.join(topic, { client: true, server: true })
|
||||
discovery.flushed().then(() => {
|
||||
console.log(`joined topic: ${b4a.toString(topic, 'hex')}\n(Share this key to others so they may join.)`)
|
||||
console.log('You are now in a chatroom for your topic, feel free to chat.\n')
|
||||
console.log('Want to login to the SSH.SURF API? Type "/login [APIKEY]" to login.')
|
||||
console.log('Want to login to the SSH.SURF API? Type "/login [APIKEY]" to login.\n\n')
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user