mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 06:33:03 -04:00
fix IrcColors and ShowMeYourName (#3343)
This commit is contained in:
parent
96ee0c1351
commit
eeea8d9291
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: '="SYSTEM_TAG"',
|
find: '="SYSTEM_TAG"',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=className:\i\.username,style:.{0,50}:void 0,)/,
|
match: /(?<=\i.gradientClassName]\),style:.{0,80}:void 0,)/,
|
||||||
replace: "style:{color:$self.calculateNameColorForMessageContext(arguments[0])},"
|
replace: "style:{color:$self.calculateNameColorForMessageContext(arguments[0])},"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -50,7 +50,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: '?"@":""',
|
find: '?"@":""',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=children:)\(\i\?"@":""\)\+\i(?=,|\})/,
|
match: /(?<=onContextMenu:\i,children:)\i\+\i/,
|
||||||
replace: "$self.renderUsername(arguments[0])"
|
replace: "$self.renderUsername(arguments[0])"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue