MemberListDecoratorsAPI: Fix Patch
This commit is contained in:
parent
bc1f9ae31d
commit
7a22c8cf5f
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue