Compare commits

..

1 Commits

Author SHA1 Message Date
last2014 41dc68340f Merge pull request '2026.4.0' (#13) from develop into main
Reviewed-on: #13
2026-05-03 06:14:47 +00:00
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "notice-uwuzu", "name": "notice-uwuzu",
"version": "2026.4.1", "version": "2026.4.0",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
+7 -3
View File
@@ -27,10 +27,8 @@ try {
const mem = Memory.memory; const mem = Memory.memory;
const lastReadReply = mem.lastReadReply; const lastReadReply = mem.lastReadReply;
mem.lastReadReply = notifications[0]?.valueid ?? lastReadReply;
Memory.memory = mem;
for (const notification of notifications) { for (const [index, notification] of notifications.entries()) {
if (notification.category !== "reply" || typeof notification.valueid !== "string") if (notification.category !== "reply" || typeof notification.valueid !== "string")
continue; continue;
@@ -46,6 +44,12 @@ try {
continue; continue;
} }
if (index === 0) {
const mem = Memory.memory;
mem.lastReadReply = ueuseResponse.data[0].uniqid;
Memory.memory = mem;
}
ueuses.push(ueuseResponse.data[0]); ueuses.push(ueuseResponse.data[0]);
} }
} else { } else {