diff options
Diffstat (limited to 'src/plugins/showHiddenChannels/index.tsx')
-rw-r--r-- | src/plugins/showHiddenChannels/index.tsx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/showHiddenChannels/index.tsx b/src/plugins/showHiddenChannels/index.tsx index 1fb0bd3..64500c4 100644 --- a/src/plugins/showHiddenChannels/index.tsx +++ b/src/plugins/showHiddenChannels/index.tsx @@ -419,6 +419,14 @@ export default definePlugin({ match: /(?<=getChannels\(\i)(?=\))/, replace: ",true" } + }, + { + find: '.displayName="NowPlayingViewStore"', + replacement: { + // Make active now voice states on hiddenl channels + match: /(getVoiceStateForUser.{0,150}?)&&\i\.\i\.canWithPartialContext.{0,20}VIEW_CHANNEL.+?}\)(?=\?)/, + replace: "$1" + } } ], |