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 ( if (
!isPausingUpdate.value && // /調 !isPausingUpdate.value && // /調
queueSize.value === 0 && // queueSize.value === 0 && //
active.value && // keepAlive active.value // keepAlive
!backed //
) { ) {
if (items.value.has(item.id)) return; // if (!backed) {
unshiftItems([item]); //
if (items.value.has(item.id)) return; //
unshiftItems([item]);
} else if (!weakBacked) {
// 調
prependQueue(item);
executeQueue();
} else {
//
prependQueue(item);
}
} else { } else {
prependQueue(item); prependQueue(item);
} }