fix accountpanelserverprofile

This commit is contained in:
thororen1234 2026-02-16 12:27:09 -05:00
parent ff56a2fa5e
commit 2737794e6e
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ export default definePlugin({
replace: "$&$self.onPopoutClose();"
},
{
match: /(?:#{intl::5fWB8U::raw}|#{intl::SET_STATUS})\)(?<=ref:(\i),style:.+?)/,
match: /ref:(\i),style:\i(?=.{0,250}#{intl::5fWB8U::raw})/,
replace: "$&,onContextMenu:($self.grabRef($1),$self.openAccountPanelContextMenu)"
}
]

View file

@ -91,7 +91,7 @@ export default definePlugin({
{
find: "useCanFavoriteChannel",
replacement: {
match: /(?<=\i\.id\)\),\i=)\i\.isThread\(\)/,
match: /(?<=isFavorite\(\i\.id\).{0,5})\i\.isThread\(\)/,
replace: "false",
}
},