Skip to content

Commit ef32d86

Browse files
committed
fix bug in Call block
Signed-off-by: Dev4Mod <[email protected]>
1 parent 362c580 commit ef32d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/wmods/wppenhacer/xposed/features/privacy/CallPrivacy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public boolean checkCallBlock(Object userJid, PrivacyType type) throws IllegalAc
130130
var contactName = WppCore.getSContactName(WppCore.createUserJid(phoneNumber), true);
131131
return TextUtils.isEmpty(contactName) || contactName.equals(phoneNumber);
132132
case BACKLIST:
133-
if (customprivacy.optBoolean("BlockCall", true)) return true;
133+
if (customprivacy.optBoolean("BlockCall", false)) return true;
134134
var callBlockList = prefs.getString("call_block_contacts", "[]");
135135
var blockList = Arrays.stream(callBlockList.substring(1, callBlockList.length() - 1).split(", ")).map(String::trim).collect(Collectors.toCollection(ArrayList::new));
136136
for (var blockNumber : blockList) {

0 commit comments

Comments
 (0)