korede douda 2

This commit is contained in:
tamaina 2023-07-17 15:28:29 +00:00
parent b60dba701c
commit f7425f5fe9
1 changed files with 13 additions and 4 deletions

View File

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