2026.4.3 #16
@@ -1,3 +1,7 @@
|
|||||||
|
# 2026.4.3
|
||||||
|
- Chg: forループ内でlastReadを記録するように
|
||||||
|
- Chg: lastReadを時刻ベースに
|
||||||
|
|
||||||
# 2026.4.2
|
# 2026.4.2
|
||||||
- Fix: id除外が機能しない問題
|
- Fix: id除外が機能しない問題
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "notice-uwuzu",
|
"name": "notice-uwuzu",
|
||||||
"version": "2026.4.2",
|
"version": "2026.4.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -23,9 +23,7 @@ try {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
const notifications = response.data
|
const notifications = response.data.filter(notification => notification.category === "reply" && typeof notification.valueid === "string");
|
||||||
.filter(notification => notification.category === "reply" && typeof notification.valueid === "string")
|
|
||||||
.sort((a, b) => new Date(b.datetime).getTime() - new Date(a.datetime).getTime());
|
|
||||||
|
|
||||||
const mem = Memory.memory;
|
const mem = Memory.memory;
|
||||||
const lastReadReply = mem.lastReadReply;
|
const lastReadReply = mem.lastReadReply;
|
||||||
@@ -68,8 +66,7 @@ try {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
const mentions = response.data
|
const mentions = response.data;
|
||||||
.sort((a, b) => new Date(b.datetime).getTime() - new Date(a.datetime).getTime());
|
|
||||||
|
|
||||||
const mem = Memory.memory;
|
const mem = Memory.memory;
|
||||||
const lastReadMention = mem.lastReadMention;
|
const lastReadMention = mem.lastReadMention;
|
||||||
|
|||||||
Reference in New Issue
Block a user