ext/chat.js
function sync(id)
      {
        if(id == last.json.id) return;
        // bottoms up, send older first
        sync(lib.base32.encode(lib.hashname.siphash(mesh.hashname, lib.base32.decode(id))));
        stream.write(chat.messages[id]);
      }
function sync(id)
      {
        if(id == last.json.id) return;
        // bottoms up, send older first
        sync(lib.base32.encode(lib.hashname.siphash(mesh.hashname, lib.base32.decode(id))));
        stream.write(chat.messages[id]);
      }
function sync ( id ) { if ( id == last . json . id ) return ; // bottoms up, send older first sync ( lib . base32 . encode ( lib . hashname . siphash ( mesh . hashname , lib . base32 . decode ( id ) ) ) ) ; stream . write ( chat . messages [ id ] ) ; }
send any messages since the last they saw
send any messages since the last they saw