fix message hover buttons... again

This commit is contained in:
Vendicated 2024-08-03 17:54:25 +02:00
parent d1996034b7
commit 021d9bf179
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,7 @@ export default definePlugin({
find: "Messages.MESSAGE_UTILITIES_A11Y_LABEL",
replacement: {
// foo && !bar ? createElement(reactionStuffs)... createElement(blah,...makeElement(reply-other))
match: /\i&&!\i\?\(0,\i\.jsxs?\)\(.{0,200}renderEmojiPicker:.{0,500}\?\(0,\i\.jsx\)\((\i\.\i).{0,200}\.\.\.(\i)\},"reply-other"/,
match: /\i&&!\i\?\(0,\i\.jsxs?\)\(.{0,200}renderEmojiPicker:.{0,500}\?\(0,\i\.jsx\)\((\i\.\i).{0,200},"reply-other"(?<=message:(\i).+?)/,
replace: "Vencord.Api.MessagePopover._buildPopoverElements($1,$2),$&"
}
}],