Merge branch 'pr-3925' into dev

This commit is contained in:
thororen1234 2026-01-23 17:49:31 -05:00
commit 5811f0e614
No known key found for this signature in database

View file

@ -27,8 +27,8 @@ export default definePlugin({
{
find: "#{intl::REMOVE_ATTACHMENT_BODY}",
replacement: {
match: /(\.renderReactions\(\i\).+?children:)(\[.+?\])/,
replace: (_, rest, accessories) => `${rest}Vencord.Api.MessageAccessories._modifyAccessories(${accessories},this.props)`,
match: /children:(\[[^\]]{0,100}?this.renderSuppressConfirmModal[^\]]{0,100}?\])/,
replace: "children:Vencord.Api.MessageAccessories._modifyAccessories($1,this.props)",
},
},
],