File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
app/src/main/java/com/wmods/wppenhacer/xposed/features/privacy Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,9 @@ protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
9696 @ Override
9797 protected void beforeHookedMethod (MethodHookParam param ) throws Throwable {
9898 if (!prefs .getString ("call_type" , "no_internet" ).equals ("no_internet" )) return ;
99- var userJid = new FMessageWpp .UserJid (param .args [0 ]);
99+ var jidClass = XposedHelpers .findClass ("com.whatsapp.jid.Jid" , classLoader );
100+ var jidObj = ReflectionUtils .getArg (param .args , jidClass , 0 );
101+ var userJid = new FMessageWpp .UserJid (jidObj );
100102 var type = Integer .parseInt (prefs .getString ("call_privacy" , "0" ));
101103 var block = checkCallBlock (userJid , PrivacyType .getByValue (type ));
102104 if (block ) {
You can’t perform that action at this time.
0 commit comments