|
|
@ -48,7 +48,7 @@ export default definePlugin({
|
|
|
|
})),
|
|
|
|
})),
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// channel mentions
|
|
|
|
// channel mentions
|
|
|
|
find: ".shouldCloseDefaultModals",
|
|
|
|
find: 'className:"channelMention",children',
|
|
|
|
replacement: {
|
|
|
|
replacement: {
|
|
|
|
match: /onClick:(\i)(?=,.{0,30}className:"channelMention".+?(\i)\.inContent)/,
|
|
|
|
match: /onClick:(\i)(?=,.{0,30}className:"channelMention".+?(\i)\.inContent)/,
|
|
|
|
replace: (_, onClick, props) => ""
|
|
|
|
replace: (_, onClick, props) => ""
|
|
|
|