Patch Fixes

This commit is contained in:
thororen1234 2025-01-29 09:32:35 -05:00
parent 7206502f4d
commit 90f2d0895e
9 changed files with 13 additions and 117 deletions

View file

@ -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,
},