mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 22:23:02 -04:00
Fix broken patches
This commit is contained in:
parent
02092a985c
commit
9f8c749421
5 changed files with 11 additions and 12 deletions
|
@ -257,7 +257,7 @@ export default definePlugin({
|
|||
{
|
||||
find: '"alt+shift+down"',
|
||||
replacement: {
|
||||
match: /(?<=getChannel\(\i\);return null!=(\i))(?=.{0,150}?>0\)&&\(0,\i\.\i\)\(\i\))/,
|
||||
match: /(?<=getChannel\(\i\);return null!=(\i))(?=.{0,200}?>0\)&&\(0,\i\.\i\)\(\i\))/,
|
||||
replace: (_, channel) => `&&!$self.isHiddenChannel(${channel})`
|
||||
}
|
||||
},
|
||||
|
@ -265,8 +265,8 @@ export default definePlugin({
|
|||
{
|
||||
find: ".APPLICATION_STORE&&null!=",
|
||||
replacement: {
|
||||
match: /(?<=getState\(\)\.channelId.{0,30}?\(0,\i\.\i\)\(\i\))(?=\.map\()/,
|
||||
replace: ".filter(e=>!$self.isHiddenChannel(e))"
|
||||
match: /getState\(\)\.channelId.+?(?=\.map\(\i=>\i\.id)/,
|
||||
replace: "$&.filter(e=>!$self.isHiddenChannel(e))"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue