mirror of
https://github.com/System-End/Vencord.git
synced 2026-04-19 18:35:13 +00:00
fix AccountPanelServerProfile (#3995)
This commit is contained in:
parent
38c490533b
commit
5fc677bb26
3 changed files with 3 additions and 3 deletions
|
|
@ -79,7 +79,7 @@ export default definePlugin({
|
|||
replace: "$&$self.onPopoutClose();"
|
||||
},
|
||||
{
|
||||
match: /#{intl::SET_STATUS}\)(?<=innerRef:(\i),style:.+?)/,
|
||||
match: /ref:(\i),style:\i(?=.{0,250}#{intl::5fWB8U::raw})/,
|
||||
replace: "$&,onContextMenu:($self.grabRef($1),$self.openAccountPanelContextMenu)"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ export default definePlugin({
|
|||
{
|
||||
find: "useCanFavoriteChannel",
|
||||
replacement: {
|
||||
match: /\i\.isDM\(\)\|\|\i\.isThread\(\)/,
|
||||
match: /(?<=isFavorite\(\i\.id\).{0,5})\i\.isThread\(\)/,
|
||||
replace: "false",
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -408,7 +408,7 @@ export default definePlugin({
|
|||
},
|
||||
{
|
||||
// Remove the open chat button for the HiddenChannelLockScreen
|
||||
match: /(?<="participants-list-button"\),!\i&&)\(0,\i\.jsxs?\).{0,280}?iconClassName:/,
|
||||
match: /(?<=numRequestToSpeak:\i\}\)\}\):null,!\i&&)\(0,\i\.jsxs?\).{0,280}?iconClassName:/,
|
||||
replace: "!$self.isHiddenChannel(arguments[0]?.channel,true)&&$&"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue