Fix message logger patch (#431)
This commit is contained in:
parent
08a2030bbc
commit
c4d2b4a8cd
|
@ -259,8 +259,8 @@ export default definePlugin({
|
||||||
replace: "$1,deleted=$2.attachment?.deleted,"
|
replace: "$1,deleted=$2.attachment?.deleted,"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: /(hiddenSpoilers:\w,className:)/,
|
match: /\["className","attachment","inlineMedia".+?className:/,
|
||||||
replace: "$1 (deleted ? 'messageLogger-deleted-attachment ' : '') +"
|
replace: "$& (deleted ? 'messageLogger-deleted-attachment ' : '') +"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue