Revert "MemberListDecoratorsAPI: Fix Patch"
This reverts commit 7a22c8cf5f.
This commit is contained in:
parent
7a22c8cf5f
commit
89e3dcc58e
1 changed files with 2 additions and 2 deletions
|
|
@ -41,8 +41,8 @@ export default definePlugin({
|
|||
{
|
||||
find: "PrivateChannel.renderAvatar",
|
||||
replacement: {
|
||||
match: /((?<=:|\[)\i\.isSystemDM\(\)\?.+?:null)/,
|
||||
replace: "Vencord.Api.MemberListDecorators.__getDecorators(arguments[0],'dm'),$1"
|
||||
match: /decorators:(\i\.isSystemDM\(\)\?.+?:null)/,
|
||||
replace: "decorators:[Vencord.Api.MemberListDecorators.__getDecorators(arguments[0],'dm'),$1]"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue