Skip to content

Commit ab944a5

Browse files
committed
Support LID JIDs in WppCore
Signed-off-by: Dev4Mod <[email protected]>
1 parent 74760ab commit ab944a5

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/java/com/wmods/wppenhacer/xposed/core

1 file changed

+1
-1
lines changed

app/src/main/java/com/wmods/wppenhacer/xposed/core/WppCore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public static String stripJID(String str) {
399399
if (str == null) return null;
400400
if (str.contains(".") && str.contains("@") && str.indexOf(".") < str.indexOf("@")) {
401401
return str.substring(0, str.indexOf("."));
402-
} else if (str.contains("@g.us") || str.contains("@s.whatsapp.net") || str.contains("@broadcast")) {
402+
} else if (str.contains("@g.us") || str.contains("@s.whatsapp.net") || str.contains("@broadcast") || str.contains("@lid")) {
403403
return str.substring(0, str.indexOf("@"));
404404
}
405405
return str;

0 commit comments

Comments
 (0)