mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 22:23:02 -04:00
Fixes For Canary
This commit is contained in:
parent
ae1d98c8cf
commit
5cd0b86c1b
3 changed files with 5 additions and 5 deletions
|
@ -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},$&)"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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()),$&"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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])"
|
||||
}
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue