Skip to content

Commit 0e459c6

Browse files
committed
Fix support to WA 2.25.8.84
1 parent 3d189d4 commit 0e459c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/wmods/wppenhacer/xposed/core/devkit/Unobfuscator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public synchronized static Method loadGhostModeMethod(ClassLoader classLoader) t
173173

174174
public synchronized static Method loadReceiptMethod(ClassLoader classLoader) throws Exception {
175175
return UnobfuscatorCache.getInstance().getMethod(classLoader, () -> {
176-
Method[] methods = findAllMethodUsingStrings(classLoader, StringMatchType.Equals, "participant", "type", "recipient");
176+
Method[] methods = findAllMethodUsingStrings(classLoader, StringMatchType.Equals, "receipt");
177177
var deviceJidClass = XposedHelpers.findClass("com.whatsapp.jid.DeviceJid", classLoader);
178178
Method bestMethod = Arrays.stream(methods).filter(method -> method.getParameterTypes().length > 1 && method.getParameterTypes()[1] == deviceJidClass).findFirst().orElse(null);
179179
if (bestMethod == null) throw new Exception("Receipt method not found");

0 commit comments

Comments
 (0)