aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/messageLogger/index.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/messageLogger/index.tsx b/src/plugins/messageLogger/index.tsx
index e650dbb..50a6f52 100644
--- a/src/plugins/messageLogger/index.tsx
+++ b/src/plugins/messageLogger/index.tsx
@@ -259,8 +259,8 @@ export default definePlugin({
replace: "$1,deleted=$2.attachment?.deleted,"
},
{
- match: /(hiddenSpoilers:\w,className:)/,
- replace: "$1 (deleted ? 'messageLogger-deleted-attachment ' : '') +"
+ match: /\["className","attachment","inlineMedia".+?className:/,
+ replace: "$& (deleted ? 'messageLogger-deleted-attachment ' : '') +"
}
]
},