mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Small address JSON fixes
This commit is contained in:
@@ -106,7 +106,7 @@ public class InternetAddressJson extends InternetAddress {
|
||||
if (this.json != null) {
|
||||
try {
|
||||
JSONObject jaddress = new JSONObject("{" + this.json + "}");
|
||||
String address = jaddress.getString("address");
|
||||
String address = jaddress.optString("address");
|
||||
String personal = jaddress.optString("personal");
|
||||
if (!TextUtils.isEmpty(address))
|
||||
super.setAddress(address);
|
||||
|
||||
Reference in New Issue
Block a user