mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 13:43:03 -04:00
Fix SHC Patch
This commit is contained in:
parent
4e348fba17
commit
196d1f3b80
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: '"MessageManager"',
|
find: '"MessageManager"',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /"Skipping fetch because channelId is a static route"\);return}(?=.+?getChannel\((\i)\))/,
|
match: /(?<=\(\i\)\)return;)(?=.+?getChannel\((\i)\))/,
|
||||||
replace: (m, channelId) => `${m}if($self.isHiddenChannel({channelId:${channelId}}))return;`
|
replace: (m, channelId) => `${m}if($self.isHiddenChannel({channelId:${channelId}}))return;`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue