Don't return

This commit is contained in:
Lim Chee Aun 2024-01-30 18:57:28 +08:00
parent 26d445af7d
commit ff35c458c3

View file

@ -178,9 +178,7 @@ export function groupContext(items, instance) {
if (item.inReplyToId && item.inReplyToAccountId !== item.account.id) { if (item.inReplyToId && item.inReplyToAccountId !== item.account.id) {
const sKey = statusKey(item.id, instance); const sKey = statusKey(item.id, instance);
if (states.statusReply[sKey]) { if (!states.statusReply[sKey]) {
return;
}
// If it's a reply and not a thread // If it's a reply and not a thread
queueMicrotask(async () => { queueMicrotask(async () => {
try { try {
@ -203,6 +201,7 @@ export function groupContext(items, instance) {
} }
}); });
} }
}
newItems.push(item); newItems.push(item);
}); });