mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-13 11:12:23 +00:00
@@ -280,7 +280,7 @@ public class MmsDatabase extends MessagingDatabase {
|
|||||||
PhoneNumberUtil.MatchType match;
|
PhoneNumberUtil.MatchType match;
|
||||||
|
|
||||||
if (localNumber == null) match = PhoneNumberUtil.MatchType.NO_MATCH;
|
if (localNumber == null) match = PhoneNumberUtil.MatchType.NO_MATCH;
|
||||||
else match = PhoneNumberUtil.getInstance().isNumberMatch(localNumber, cc.toPhoneString());
|
else match = PhoneNumberUtil.getInstance().isNumberMatch(localNumber, cc.serialize());
|
||||||
|
|
||||||
if (match == PhoneNumberUtil.MatchType.NO_MATCH ||
|
if (match == PhoneNumberUtil.MatchType.NO_MATCH ||
|
||||||
match == PhoneNumberUtil.MatchType.NOT_A_NUMBER)
|
match == PhoneNumberUtil.MatchType.NOT_A_NUMBER)
|
||||||
@@ -295,7 +295,7 @@ public class MmsDatabase extends MessagingDatabase {
|
|||||||
PhoneNumberUtil.MatchType match;
|
PhoneNumberUtil.MatchType match;
|
||||||
|
|
||||||
if (localNumber == null) match = PhoneNumberUtil.MatchType.NO_MATCH;
|
if (localNumber == null) match = PhoneNumberUtil.MatchType.NO_MATCH;
|
||||||
else match = PhoneNumberUtil.getInstance().isNumberMatch(localNumber, to.toPhoneString());
|
else match = PhoneNumberUtil.getInstance().isNumberMatch(localNumber, to.serialize());
|
||||||
|
|
||||||
if (match == PhoneNumberUtil.MatchType.NO_MATCH ||
|
if (match == PhoneNumberUtil.MatchType.NO_MATCH ||
|
||||||
match == PhoneNumberUtil.MatchType.NOT_A_NUMBER)
|
match == PhoneNumberUtil.MatchType.NOT_A_NUMBER)
|
||||||
|
|||||||
Reference in New Issue
Block a user