2026.4.3 #16

Merged
last2014 merged 4 commits from develop into main 2026-05-03 10:19:42 +00:00
Showing only changes of commit 7f2ef21557 - Show all commits
+5 -2
View File
@@ -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;