From 9820b79dfe39a2ea5105a6160bba7a714fa185fa Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Tue, 20 Jun 2023 17:11:50 -0300 Subject: SHC: show active now voice members; PermViewer: improve styling (#1314) --- src/plugins/showHiddenChannels/index.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/plugins/showHiddenChannels/index.tsx') 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" + } } ], -- cgit