limit ml patch length
This commit is contained in:
parent
2ad7b3cec1
commit
597c7414b1
1 changed files with 1 additions and 1 deletions
|
|
@ -471,7 +471,7 @@ export default definePlugin({
|
|||
find: ".SEND_FAILED,",
|
||||
replacement: {
|
||||
// Render editHistory behind the message content
|
||||
match: /\]:\i.isUnsupported.+?,children:\[/,
|
||||
match: /\]:\i.isUnsupported.{0,20}?,children:\[/,
|
||||
replace: "$&arguments[0]?.message?.editHistory?.length>0&&$self.renderEdits(arguments[0]),"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue