BetterFolders: Fix sidebar filter patch (#3498)

This commit is contained in:
sadan4 2025-06-20 12:45:52 -04:00 committed by GitHub
parent f6bfd18816
commit 658a62860e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -179,7 +179,7 @@ export default definePlugin({
},
// If we are rendering the Better Folders sidebar, we filter out everything but the Guild List from the Sidebar children
{
match: /unreadMentionsFixedFooter\].+?\]/,
match: /unreadMentionsFixedFooter\].+?\}\)\]/,
replace: "$&.filter($self.makeGuildsBarSidebarFilter(!!arguments[0]?.isBetterFolders))"
}
]