mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-20 03:47:01 -04:00
Patch Fixes
This commit is contained in:
parent
7206502f4d
commit
90f2d0895e
9 changed files with 13 additions and 117 deletions
|
@ -104,7 +104,7 @@ export default definePlugin({
|
|||
find: "#{intl::REPLY_QUOTE_MESSAGE_NOT_LOADED}",
|
||||
replacement: {
|
||||
// Should match two places
|
||||
match: /(\i\.Clickable),\{/g,
|
||||
match: /(\i\.clickable),\{/g,
|
||||
replace: "$self.ReplyTooltip,{Component:$1,vcProps:arguments[0],"
|
||||
},
|
||||
predicate: () => settings.store.onReply,
|
||||
|
@ -112,8 +112,8 @@ export default definePlugin({
|
|||
{
|
||||
find: "#{intl::MESSAGE_FORWARDED}",
|
||||
replacement: {
|
||||
match: /(\i\.Clickable),\{/,
|
||||
replace: "$self.ForwardTooltip,{Component:$1,vcProps:arguments[0],"
|
||||
match: /(null:.{0,20})(\i\.\i\i),\{/,
|
||||
replace: "$1$self.ForwardTooltip,{Component:$2,vcProps:arguments[0],"
|
||||
},
|
||||
predicate: () => settings.store.onForward,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue