MessagePeek: Fix Patch
This commit is contained in:
parent
3092b34376
commit
22c6c97df2
2 changed files with 2 additions and 11 deletions
|
|
@ -250,7 +250,7 @@ export default definePlugin({
|
|||
{
|
||||
find: "PrivateChannel.renderAvatar",
|
||||
replacement: {
|
||||
match: /,subText:\i\.isSystemDM\(\).{0,500}:null,(?=name:)/,
|
||||
match: /,subText:\i\.isSystemDM\(\).{0,700}:null,(?=name:)/,
|
||||
replace: ",subText:$self.getSubText(arguments[0]),"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -73,16 +73,7 @@ export default definePlugin({
|
|||
replace: "{...$1,...$self.getPlatform(true)}"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
find: '"2025-01-virtual-currency-rollout"',
|
||||
replacement: [
|
||||
{
|
||||
match: /enabled:\i\.(?:get|use)Config\(\i\)\.enabled/g,
|
||||
replace: "enabled:false"
|
||||
}
|
||||
]
|
||||
},
|
||||
}
|
||||
],
|
||||
getPlatform(bypass, userId?: any) {
|
||||
const platform = settings.store.platform ?? "desktop";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue