r.getProfile().getFamilyName(),
r.getProfile().getAbout(),
r.getProfile().getAboutEmoji(),
- r.getProfile().getPaymentAddress() == null
+ r.getProfile().getMobileCoinAddress() == null
? null
: Base64.getEncoder()
- .encodeToString(r.getProfile().getPaymentAddress())));
+ .encodeToString(r.getProfile().getMobileCoinAddress())));
}).toList();
writer.write(jsonContacts);
}
private record JsonContact(
- String number,
- String uuid,
- String name,
- boolean isBlocked,
- int messageExpirationTime,
- JsonProfile profile
+ String number, String uuid, String name, boolean isBlocked, int messageExpirationTime, JsonProfile profile
) {
private record JsonProfile(
String familyName,
String about,
String aboutEmoji,
- String paymentAddress
+ String mobileCoinAddress
) {}
}
}