Bad number can also cause IllegalArgumentException

This commit is contained in:
Stephen Paul Weber 2022-03-11 23:00:49 -05:00
parent e6a5b4288e
commit e02dee8c01
No known key found for this signature in database
GPG Key ID: D11C2911CE519CDE
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ public class EnterJidDialog extends DialogFragment implements OnBackendConnected
if (type != null && (type.equals("pstn") || type.equals("sms"))) {
try {
binding.jid.setText(PhoneNumberUtilWrapper.normalize(getActivity(), binding.jid.getText().toString()));
} catch (NumberParseException | NullPointerException e) { }
} catch (NumberParseException | IllegalArgumentException | NullPointerException e) { }
}
if (p == null) {