Fix receiving contact address

Fixes #1385
This commit is contained in:
AsamK 2023-11-21 17:09:05 +01:00
parent 3602ef9be9
commit fddf982832

View file

@ -482,13 +482,13 @@ public record MessageEnvelope(
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 {