OverviewFilesCommitsIssuesDocsReleasesPeers

apds commits / c815b17

push all the correct properties to openedLog
c815b1732b2bf78f6171de637a8db552dcede803
by Ev Bogue <ev@evbogue.com> · 2025-01-07T23:07:30.000Z

Changed files (1) +9 -1

bogbot.js +9 -1
……@@ -183,7 +183,15 @@ bogbot.add = async (msg) => {
183183 const hash = await bogbot.make(msg)
184184 if (!hashLog.includes(hash)) {
185185 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)
187195 newMessages = true
188196 sort = true
189197 }