Skip to content

Commit

Permalink
Fix receiving contact address
Browse files Browse the repository at this point in the history
Fixes #1385
  • Loading branch information
AsamK committed Nov 21, 2023
1 parent 3602ef9 commit fddf982
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -482,13 +482,13 @@ public record Address(
static Address from(org.whispersystems.signalservice.api.messages.shared.SharedContact.PostalAddress address) {
return new Address(Address.Type.from(address.getType()),
address.getLabel(),
address.getLabel(),
address.getLabel(),
address.getLabel(),
address.getLabel(),
address.getLabel(),
address.getLabel(),
address.getLabel());
address.getStreet(),
address.getPobox(),
address.getNeighborhood(),
address.getCity(),
address.getRegion(),
address.getPostcode(),
address.getCountry());
}

public enum Type {
Expand Down

0 comments on commit fddf982

Please sign in to comment.