mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
Restore extraction visibility for managed hidden messages
This commit is contained in:
@@ -546,3 +546,11 @@ export function getHideStateSnapshot() {
|
||||
scheduled: Boolean(hideState.scheduledTimer),
|
||||
};
|
||||
}
|
||||
|
||||
export function isInManagedHideRange(index, chat = null) {
|
||||
if (!Number.isFinite(index) || index < 0) return false;
|
||||
if (!hideState.managedChatRef) return false;
|
||||
if (Array.isArray(chat) && chat !== hideState.managedChatRef) return false;
|
||||
|
||||
return hideState.managedSystemIndices.has(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user