diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-07-07 21:33:37 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 02:33:37 +0200 |
commit | 8b1630bc998542f924932d81eda8e095de95ac4b (patch) | |
tree | 4596329d9ba03431ef4ebce6301c632e3b1ff0a9 /src | |
parent | bf34b2ae43ed8c31665be35d3d6293f19ed0e80e (diff) | |
download | Vencord-8b1630bc998542f924932d81eda8e095de95ac4b.tar.gz Vencord-8b1630bc998542f924932d81eda8e095de95ac4b.tar.bz2 Vencord-8b1630bc998542f924932d81eda8e095de95ac4b.zip |
Fix ShowAllMessageButtons (#1392)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/showAllMessageButtons.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/showAllMessageButtons.ts b/src/plugins/showAllMessageButtons.ts index 32e8ee5..da0d3c6 100644 --- a/src/plugins/showAllMessageButtons.ts +++ b/src/plugins/showAllMessageButtons.ts @@ -28,8 +28,8 @@ export default definePlugin({ { find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL", replacement: { - // isExpanded: V, (?<=,V = shiftKeyDown && !H...;) - match: /isExpanded:(\i),(?<=,\1=\i&&(!.+);.+?)/, + // isExpanded: V, (?<=,V = shiftKeyDown && !H...,|;) + match: /isExpanded:(\i),(?<=,\1=\i&&(?=(!.+?)[,;]).+?)/, replace: "isExpanded:$2," } } |