From 238482a0b760d4b6e8188c190ed4fd9abfa58d6b Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sun, 4 May 2025 22:16:50 -0400 Subject: [PATCH] UserVoiceShow: Remove Readded Section --- src/plugins/userVoiceShow/index.tsx | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/plugins/userVoiceShow/index.tsx b/src/plugins/userVoiceShow/index.tsx index 31417c0e..5f1a05e5 100644 --- a/src/plugins/userVoiceShow/index.tsx +++ b/src/plugins/userVoiceShow/index.tsx @@ -56,34 +56,6 @@ export default definePlugin({ settings, patches: [ - // User Popout, User Profile Modal, Direct Messages Side Profile - { - find: "#{intl::USER_PROFILE_LOAD_ERROR}", - replacement: { - match: /(\.fetchError.+?\?)null/, - replace: (_, rest) => `${rest}$self.VoiceChannelIndicator({userId:arguments[0]?.userId})` - }, - predicate: () => settings.store.showInUserProfileModal - }, - // To use without the MemberList decorator API - /* // Guild Members List - { - find: ".lostPermission)", - replacement: { - match: /\.lostPermission\).+?(?=avatar:)/, - replace: "$&children:[$self.VoiceChannelIndicator({userId:arguments[0]?.user?.id})]," - }, - predicate: () => settings.store.showVoiceChannelIndicator - }, - // Direct Messages List - { - find: "PrivateChannel.renderAvatar", - replacement: { - match: /#{intl::CLOSE_DM}.+?}\)(?=])/, - replace: "$&,$self.VoiceChannelIndicator({userId:arguments[0]?.user?.id})" - }, - predicate: () => settings.store.showVoiceChannelIndicator - }, */ // Friends List { find: "null!=this.peopleListItemRef.current",