2026.4.1 / Chg: notificationsもfor内でlastReadを更新しないように
This commit is contained in:
@@ -27,8 +27,10 @@ try {
|
||||
|
||||
const mem = Memory.memory;
|
||||
const lastReadReply = mem.lastReadReply;
|
||||
mem.lastReadReply = notifications[0]?.valueid ?? lastReadReply;
|
||||
Memory.memory = mem;
|
||||
|
||||
for (const [index, notification] of notifications.entries()) {
|
||||
for (const notification of notifications) {
|
||||
if (notification.category !== "reply" || typeof notification.valueid !== "string")
|
||||
continue;
|
||||
|
||||
@@ -44,12 +46,6 @@ try {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (index === 0) {
|
||||
const mem = Memory.memory;
|
||||
mem.lastReadReply = ueuseResponse.data[0].uniqid;
|
||||
Memory.memory = mem;
|
||||
}
|
||||
|
||||
ueuses.push(ueuseResponse.data[0]);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user