Merge branch 'dev'
Some checks failed
Release / Build Equicord (push) Has been cancelled
Sync to Codeberg / Sync Codeberg and Github (push) Has been cancelled
Test / Test (push) Has been cancelled

This commit is contained in:
thororen1234 2025-03-01 08:06:48 -05:00
commit 656f4a1c0d
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ export default definePlugin({
{ {
find: "#{intl::FORUM_POST_AUTHOR_A11Y_LABEL}", find: "#{intl::FORUM_POST_AUTHOR_A11Y_LABEL}",
replacement: { 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},$&)" replace: "$self.wrapForumAuthor({...$1,$2},$&)"
} }
}, },

View file

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