opencode-mailbox 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12724,7 +12724,7 @@ async function addMessage(client, recipient, sender, message, timestamp) {
|
|
|
12724
12724
|
async function getUnreadMessages(client, recipient) {
|
|
12725
12725
|
const database = await getDatabase(client);
|
|
12726
12726
|
const stmt = database.prepare(`
|
|
12727
|
-
SELECT sender as from, message, timestamp, read
|
|
12727
|
+
SELECT sender as "from", message, timestamp, read
|
|
12728
12728
|
FROM messages
|
|
12729
12729
|
WHERE recipient = ? AND read = 0
|
|
12730
12730
|
ORDER BY timestamp ASC
|