diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-01-18 20:36:31 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-19 00:36:31 +0100 |
commit | c4d2b4a8cd39fae7b1f453608d3cdc97a24f739d (patch) | |
tree | a9aec004fbcf2e9d088783db8542cf546dbf1114 /src/plugins/messageLogger/index.tsx | |
parent | 08a2030bbc4378cc2f750794cc1fe0d5fcb98d28 (diff) | |
download | Vencord-c4d2b4a8cd39fae7b1f453608d3cdc97a24f739d.tar.gz Vencord-c4d2b4a8cd39fae7b1f453608d3cdc97a24f739d.tar.bz2 Vencord-c4d2b4a8cd39fae7b1f453608d3cdc97a24f739d.zip |
Fix message logger patch (#431)
Diffstat (limited to 'src/plugins/messageLogger/index.tsx')
-rw-r--r-- | src/plugins/messageLogger/index.tsx | 4 |
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 ' : '') +" } ] }, |