anproto personal data server

push all the correct properties to openedLog

+9 -1
+9 -1
bogbot.js
··· 183 183 const hash = await bogbot.make(msg) 184 184 if (!hashLog.includes(hash)) { 185 185 hashLog.push(hash) 186 - openedLog.push(opened) 186 + const obj = { 187 + hash, 188 + sig: msg 189 + } 190 + obj.author = obj.sig.substring(0, 44) 191 + obj.opened = opened 192 + obj.text = await bogbot.get(obj.opened.substring(13)) 193 + obj.ts = obj.opened.substring(0, 13) 194 + openedLog.push(obj) 187 195 newMessages = true 188 196 sort = true 189 197 }