package org.asamk.signal.storage.contacts;
+import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
+import org.whispersystems.signalservice.api.push.SignalServiceAddress;
+
public class ContactInfo {
@JsonProperty
@JsonProperty
public String profileKey;
+
+ @JsonIgnore
+ public SignalServiceAddress getAddress() {
+ return new SignalServiceAddress(null, number);
+ }
}