try {
messageSender.sendReceipt(address, unidentifiedAccessHelper.getAccessFor(recipientId), receiptMessage);
} catch (org.whispersystems.signalservice.api.crypto.UntrustedIdentityException e) {
- throw new UntrustedIdentityException(address);
+ throw new UntrustedIdentityException(account.getRecipientStore().resolveRecipientAddress(recipientId));
}
}
groupId.transform(GroupId::serialize),
errorMessage);
} catch (org.whispersystems.signalservice.api.crypto.UntrustedIdentityException e) {
- throw new UntrustedIdentityException(address);
+ throw new UntrustedIdentityException(account.getRecipientStore().resolveRecipientAddress(recipientId));
}
}
messageSender.sendTyping(newAddress, unidentifiedAccessHelper.getAccessFor(newRecipientId), message);
}
} catch (org.whispersystems.signalservice.api.crypto.UntrustedIdentityException e) {
- throw new UntrustedIdentityException(address);
+ throw new UntrustedIdentityException(account.getRecipientStore().resolveRecipientAddress(recipientId));
}
}