mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-11-30 01:06:50 +00:00
Avoid duplicate alternate forms of Benin phone numbers
This commit is contained in:
1 parent
fba6037e3a
commit
101fa4010d
1 file changed
+1
-1
@@ -146,7 +146,7 @@ public class Util {
|
||||
alternateE164 = "+22901" + nationalSignificantNumber;
|
||||
}
|
||||
|
||||
return List.of(number, alternateE164);
|
||||
return number.equals(alternateE164) ? List.of(number) : List.of(number, alternateE164);
|
||||
}
|
||||
|
||||
return List.of(number);
|
||||
|
||||
Reference in new issue
Block a user