diff options
author | Ev Bogue <ev@evbogue.com> | 2019-12-22 12:38:19 -0600 |
---|---|---|
committer | Ev Bogue <ev@evbogue.com> | 2019-12-22 12:38:19 -0600 |
commit | b9a1917fdbc5d79d58b4c7b9e268d555e97624ca (patch) | |
tree | 421dc9a96ed429ba13ec9d84d24f5287829ef255 /server.js | |
parent | 8a030de9eb5ca256be397311efbf58872120ec17 (diff) |
make beacons go away with the heard button, also broadcast a heard to the pub
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -166,7 +166,9 @@ bog.keys().then(key => { if (obj.signature) { var ad = { author: obj.author, + hash: obj.hash, name: config.fullurl, + pub: 'ws://' + config.url + ':' + config.wsport + '/~' + key.publicKey, content: obj.signature, views: obj.views } @@ -175,7 +177,9 @@ bog.keys().then(key => { if (obj.box) { var ad = { author: obj.author, + hash: obj.hash, name: config.fullurl, + pub: 'ws://' + config.url + ':' + config.wsport + '/~' + key.publicKey, box: obj.box, views: obj.views } |