diff options
Diffstat (limited to 'src/plugins/vcDoubleClick.ts')
-rw-r--r-- | src/plugins/vcDoubleClick.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/vcDoubleClick.ts b/src/plugins/vcDoubleClick.ts index 39b8a05..64c676c 100644 --- a/src/plugins/vcDoubleClick.ts +++ b/src/plugins/vcDoubleClick.ts @@ -48,10 +48,10 @@ export default definePlugin({ }, { // channel mentions - find: 'className:"channelMention",iconType:(', + find: ".EMOJI_IN_MESSAGE_HOVER", replacement: { - match: /onClick:(.{1,3}),/, - replace: "onClick:(_vcEv)=>(_vcEv.detail>=2||_vcEv.target.className.includes('MentionText'))&&($1)(),", + match: /onClick:(\i)(?=,.{0,30}className:"channelMention")/, + replace: "onClick:(_vcEv)=>(_vcEv.detail>=2||_vcEv.target.className.includes('MentionText'))&&($1)()", } } ], |