PlatformSpoofer: Do a terrible patch

This commit is contained in:
thororen1234 2026-01-23 23:58:06 -05:00
parent f74c67026f
commit cc98f0f402
No known key found for this signature in database

View file

@ -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) {