korede douda 2

This commit is contained in:
tamaina 2023-07-17 15:28:29 +00:00
parent b60dba701c
commit f7425f5fe9

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);
} }