IRCColors Allowing CustomUserColors

This commit is contained in:
thororen1234 2025-04-01 22:53:18 -04:00
parent 078bc546d0
commit 8ec570ebc4
No known key found for this signature in database
11 changed files with 26 additions and 71 deletions

View file

@ -194,12 +194,6 @@ export default definePlugin({
{
find: ".overlay:void 0,status:",
replacement: [
{
// FIXME(Bundler spread transform related): Remove old compatiblity once enough time has passed, if they don't revert
match: /avatarSrc:(\i),eventHandlers:(\i).+?"div",{...\2,/,
replace: "$&style:{cursor:\"pointer\"},onClick:()=>{$self.openAvatar($1)},",
noWarn: true
},
{
match: /avatarSrc:(\i),eventHandlers:(\i).+?"div",.{0,100}className:\i,/,
replace: "$&style:{cursor:\"pointer\"},onClick:()=>{$self.openAvatar($1)},",