PlatformSpoofer: Do a terrible patch
This commit is contained in:
parent
f74c67026f
commit
cc98f0f402
1 changed files with 7 additions and 0 deletions
|
|
@ -69,6 +69,13 @@ export default definePlugin({
|
|||
match: /(?<=CallTile.{0,15}\.memo\((\i)=>\{)/,
|
||||
replace: "$1.platform = $self.getPlatform(false, $1?.participantUserId)?.vcIcon || $1?.platform;"
|
||||
}
|
||||
},
|
||||
{
|
||||
find: '("AppSkeleton");',
|
||||
replacement: {
|
||||
match: /(?<=\.isPlatformEmbedded.{0,50}\i\)\)\}.{0,30})\i\?\i\.\i\.set\(.{0,10}:/,
|
||||
replace: ""
|
||||
}
|
||||
}
|
||||
],
|
||||
getPlatform(bypass, userId?: any) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue