This commit is contained in:
thororen1234 2026-03-06 15:18:45 -05:00
parent 28b3061c1a
commit 34feac8a6c
No known key found for this signature in database

View file

@ -27,7 +27,7 @@ export default definePlugin({
patches: [
{
find: '=>"IMAGE"===',
find: '"PLAINTEXT_PREVIEW":"OTHER"',
replacement: {
match: /=>"IMAGE"===\i\|\|"VIDEO"===\i(?:\|\|("VISUAL_PLACEHOLDER"===\i))?;/,
replace: (_, visualPlaceholderPred) => visualPlaceholderPred != null ? `=>${visualPlaceholderPred};` : "=>false;"