mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-29 00:14:23 -04:00
Fix Patches
This commit is contained in:
parent
4cd4e44378
commit
ecb8fa1b96
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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))"
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue