Always use content sender if available

This commit is contained in:
AsamK 2022-08-28 17:15:24 +02:00
parent 25fb1b08bc
commit ac8925b2bd

View file

@ -171,7 +171,7 @@ public final class IncomingMessageHandler {
final Manager.ReceiveMessageHandler handler, final Manager.ReceiveMessageHandler handler,
final Exception exception final Exception exception
) { ) {
if (!envelope.hasSourceUuid() && content != null) { if (content != null) {
// Store uuid if we don't have it already // Store uuid if we don't have it already
// address/uuid is validated by unidentified sender certificate // address/uuid is validated by unidentified sender certificate
account.getRecipientTrustedResolver().resolveRecipientTrusted(content.getSender()); account.getRecipientTrustedResolver().resolveRecipientTrusted(content.getSender());