mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-18 10:57:04 -04:00
Fix ColorSighted
This commit is contained in:
parent
13c59f47cb
commit
465a87f66b
2 changed files with 4 additions and 2 deletions
|
@ -34,8 +34,9 @@ export default definePlugin({
|
|||
{
|
||||
find: ".AVATAR_STATUS_MOBILE_16;",
|
||||
replacement: {
|
||||
match: /(\.fromIsMobile,.+?)\i.status/,
|
||||
replace: (_, rest) => `${rest}"online"`
|
||||
match: /(?<=fromIsMobile:\i=!0,.+?)status:(\i)/,
|
||||
// Rename field to force it to always use "online"
|
||||
replace: 'status_$:$1="online"'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue