From 3a79e41d67fd03946d3234c611b3b63e8c0f86c8 Mon Sep 17 00:00:00 2001 From: Elvyra <88881326+EdVraz@users.noreply.github.com> Date: Tue, 16 Apr 2024 22:11:25 +0200 Subject: [PATCH] fix MessageLogger (#2358) --- src/plugins/messageLogger/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/messageLogger/index.tsx b/src/plugins/messageLogger/index.tsx index 8a1e2391..c8b46439 100644 --- a/src/plugins/messageLogger/index.tsx +++ b/src/plugins/messageLogger/index.tsx @@ -337,12 +337,12 @@ export default definePlugin({ { // Attachment renderer // Module 96063 - find: ".removeAttachmentHoverButton", + find: ".removeMosaicItemHoverButton", group: true, replacement: [ { - match: /(className:\i,attachment:\i),/, - replace: "$1,attachment: {deleted}," + match: /(className:\i,item:\i),/, + replace: "$1,item: deleted," }, { match: /\[\i\.obscured\]:.+?,/,