- public RecipientAddress(SignalServiceAddress address) {
- this(Optional.of(address.getServiceId().getRawUuid()), address.getNumber(), Optional.empty());
+ public RecipientAddress(String aci, String pni, String e164, String username) {
+ this(Optional.ofNullable(aci),
+ Optional.ofNullable(pni),
+ Optional.ofNullable(e164),
+ Optional.ofNullable(username));