2026.4.3 #16
@@ -23,7 +23,9 @@ try {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
const notifications = response.data.filter(notification => notification.category === "reply" && typeof notification.valueid === "string");
|
const notifications = response.data
|
||||||
|
.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;
|
||||||
@@ -60,7 +62,8 @@ 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