mirror of
https://github.com/System-End/Vencord.git
synced 2026-04-20 00:25:15 +00:00
fix ShowHiddenChannels patch
This commit is contained in:
parent
fa46c4c4d2
commit
ed51391efc
1 changed files with 2 additions and 2 deletions
|
|
@ -457,11 +457,11 @@ export default definePlugin({
|
|||
// Filter hidden channels from GuildChannelStore.getChannels unless told otherwise
|
||||
match: /(?<=getChannels\(\i)(\){.*?)return (.+?)}/,
|
||||
replace: (_, rest, channels) => `,shouldIncludeHidden${rest}return $self.resolveGuildChannels(${channels},shouldIncludeHidden??arguments[0]==="@favorites");}`
|
||||
}
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
find: "#{intl::FORM_LABEL_MUTED}",
|
||||
find: ".invitesDisabledTooltip",
|
||||
replacement: {
|
||||
// Make GuildChannelStore.getChannels return hidden channels
|
||||
match: /(?<=getChannels\(\i)(?=\))/,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue