MemberListDecoratorsAPI: Fix Patch

This commit is contained in:
thororen1234 2025-12-18 10:59:39 -05:00
parent bc1f9ae31d
commit 7a22c8cf5f
No known key found for this signature in database

View file

@ -41,8 +41,8 @@ export default definePlugin({
{
find: "PrivateChannel.renderAvatar",
replacement: {
match: /decorators:(\i\.isSystemDM\(\)\?.+?:null)/,
replace: "decorators:[Vencord.Api.MemberListDecorators.__getDecorators(arguments[0],'dm'),$1]"
match: /((?<=:|\[)\i\.isSystemDM\(\)\?.+?:null)/,
replace: "Vencord.Api.MemberListDecorators.__getDecorators(arguments[0],'dm'),$1"
}
}
]