Fix Message Accessories API (#441)
This commit is contained in:
parent
2641adb29b
commit
6e44b8c47e
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export default definePlugin({
|
||||||
authors: [Devs.Cyn],
|
authors: [Devs.Cyn],
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: "_messageAttachmentToEmbedMedia",
|
find: ".Messages.REMOVE_ATTACHMENT_BODY",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(.container\)?,children:)(\[[^\]]+\])(}\)\};return)/,
|
match: /(.container\)?,children:)(\[[^\]]+\])(}\)\};return)/,
|
||||||
replace: (_, pre, accessories, post) =>
|
replace: (_, pre, accessories, post) =>
|
||||||
|
|
Loading…
Reference in a new issue