Fix Patches

This commit is contained in:
thororen1234 2025-06-18 16:42:23 -04:00
parent 4cd4e44378
commit ecb8fa1b96
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -200,8 +200,8 @@ export default definePlugin({
{
find: "getFriendIDs(){",
replacement: {
match: /getFriendIDs.{0,75}\i\.FRIEND\}\)/,
replace: "$&.filter(([id]) => !$self.shouldHideUser(id))"
match: /return \i\.friends/,
replace: "$&.filter(id => !$self.shouldHideUser(id))"
}
},
// active now list

View file

@ -183,7 +183,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\].+?unreadMentionsBar\}\)\]/,
replace: "$&.filter($self.makeGuildsBarSidebarFilter(!!arguments[0]?.isBetterFolders))"
}
]