mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 21:53:04 -04:00
Fix CustomUserColors
This commit is contained in:
parent
b0ea6e838c
commit
f5c099c4a4
1 changed files with 2 additions and 2 deletions
|
@ -98,8 +98,8 @@ export default definePlugin({
|
||||||
// this also affects name headers in chats outside of servers
|
// this also affects name headers in chats outside of servers
|
||||||
find: '="SYSTEM_TAG"',
|
find: '="SYSTEM_TAG"',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\i.gradientClassName]\),style:/,
|
match: /(?<=\.username.{0,50}?)style:/,
|
||||||
replace: "$&{color:$self.colorIfServer(arguments[0])},_style:"
|
replace: "style:{color:$self.colorIfServer(arguments[0])},_style:"
|
||||||
},
|
},
|
||||||
predicate: () => !Settings.plugins.IrcColors.enabled
|
predicate: () => !Settings.plugins.IrcColors.enabled
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue