a demonstration replicated social networking web app built with anproto wiredove.net/
social ed25519 protocols

turn dovepub blast back on

+8 -8
+8 -8
connect.js
··· 31 31 ws.send(latest.sig) 32 32 } 33 33 //below sends everything in the client to a dovepub pds server 34 - //const log = await bogbot.query() 35 - //if (log) { 36 - // for (const msg of log) { 37 - // ws.send(msg.sig) 38 - // ws.send(msg.text) 39 - // if (!msg.text) { ws.send(await bogbot.get(msg.opened.substring(13)))} 40 - // } 41 - //} 34 + const log = await bogbot.query() 35 + if (log) { 36 + for (const msg of log) { 37 + ws.send(msg.sig) 38 + ws.send(msg.text) 39 + if (!msg.text) { ws.send(await bogbot.get(msg.opened.substring(13)))} 40 + } 41 + } 42 42 } 43 43 44 44 ws.onmessage = async (m) => {