mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 01:53:05 -04:00
UserVoiceShow: Remove Readded Section
This commit is contained in:
parent
4a0681576e
commit
238482a0b7
1 changed files with 0 additions and 28 deletions
|
@ -56,34 +56,6 @@ export default definePlugin({
|
||||||
settings,
|
settings,
|
||||||
|
|
||||||
patches: [
|
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
|
// Friends List
|
||||||
{
|
{
|
||||||
find: "null!=this.peopleListItemRef.current",
|
find: "null!=this.peopleListItemRef.current",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue