fix: ShowAllMessageButtons (#1876)

This commit is contained in:
redstonekasi 2023-10-25 18:52:21 +02:00 committed by GitHub
parent 61fac0a8f1
commit bb900785ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,9 +28,8 @@ export default definePlugin({
{
find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL",
replacement: {
// isExpanded: V, (?<=,V = shiftKeyDown && !H...,|;)
match: /isExpanded:(\i),(?<=,\1=\i&&(?=(!.+?)[,;]).+?)/,
replace: "isExpanded:$2,"
match: /isExpanded:\i&&.*?,/,
replace: "isExpanded:true,"
}
}
]