mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-29 16:34:25 -04:00
Merge branch 'dev'
This commit is contained in:
commit
656f4a1c0d
2 changed files with 3 additions and 3 deletions
|
@ -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},$&)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -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()),$&"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue