Fixes For Canary
Some checks are pending
Sync to Codeberg / Sync Codeberg and Github (push) Waiting to run
Test / Test (push) Waiting to run

This commit is contained in:
thororen1234 2025-02-27 22:54:21 -05:00
parent ae1d98c8cf
commit 5cd0b86c1b
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@ export default definePlugin({
{
find: "#{intl::FORUM_POST_AUTHOR_A11Y_LABEL}",
replacement: {
match: /(?<=\}=(\i),\{(user:\i,author:\i)\}=.{0,400}?\(\i\.Fragment,{children:)\i(?=}\),)/,
match: /(?<=\}=(\i),\{(user:\i,author:\i)\}=.{0,400}?\i:void 0\)\()\i/,
replace: "$self.wrapForumAuthor({...$1,$2},$&)"
}
},

View file

@ -237,8 +237,8 @@ export default definePlugin({
{
find: "\"invite-button\"",
replacement: {
match: /(\i\.Fragment,{children:)(\i\i)/,
replace: "$1[$self.renderQuestButton(),...$2]"
match: /\i&&(\i\i\.push).{0,50}"current-speaker"/,
replace: "$1($self.renderQuestButton()),$&"
}
},
{

View file

@ -56,8 +56,8 @@ export default definePlugin({
{
find: '?"@":""',
replacement: {
match: /(?<=onContextMenu:\i,children:).*?\)}/,
replace: "$self.renderUsername(arguments[0])}"
match: /(?<=children:)\(\i\?"@":""\)\+\i(?=,|\})/,
replace: "$self.renderUsername(arguments[0])"
}
},
],