korede douda

This commit is contained in:
tamaina 2023-07-17 14:27:13 +00:00
parent 4881237955
commit d82d03890d
1 changed files with 13 additions and 4 deletions

View File

@ -518,11 +518,20 @@ const prepend = (item: MisskeyEntity): void => {
if (
!isPausingUpdate.value && // /調
queueSize.value === 0 && //
active.value && // keepAlive
!backed //
active.value // keepAlive
) {
if (items.value.has(item.id)) return; //
unshiftItems([item]);
if (!backed) {
//
if (items.value.has(item.id)) return; //
unshiftItems([item]);
} else if (!weakBacked) {
// 調
prependQueue(item);
executeQueue();
} else {
//
prependQueue(item);
}
} else {
prependQueue(item);
}