Fix receiving contact address

Fixes #1385
This commit is contained in:
AsamK 2023-11-21 17:09:05 +01:00
parent 21f7a6de88
commit 5882a1b2a5

View file

@ -482,13 +482,13 @@ public record MessageEnvelope(
static Address from(org.whispersystems.signalservice.api.messages.shared.SharedContact.PostalAddress address) { static Address from(org.whispersystems.signalservice.api.messages.shared.SharedContact.PostalAddress address) {
return new Address(Address.Type.from(address.getType()), return new Address(Address.Type.from(address.getType()),
address.getLabel(), address.getLabel(),
address.getLabel(), address.getStreet(),
address.getLabel(), address.getPobox(),
address.getLabel(), address.getNeighborhood(),
address.getLabel(), address.getCity(),
address.getLabel(), address.getRegion(),
address.getLabel(), address.getPostcode(),
address.getLabel()); address.getCountry());
} }
public enum Type { public enum Type {