parent
275be59c25
commit
5837a6982b
@ -279,11 +279,13 @@ public class RecipientStore implements RecipientResolver, ContactsStore, Profile
|
|||||||
synchronized (recipients) {
|
synchronized (recipients) {
|
||||||
logger.debug("Deleting recipient data for {}", recipientId);
|
logger.debug("Deleting recipient data for {}", recipientId);
|
||||||
final var recipient = recipients.get(recipientId);
|
final var recipient = recipients.get(recipientId);
|
||||||
storeRecipientLocked(recipientId,
|
recipient.getAddress()
|
||||||
|
.uuid()
|
||||||
|
.ifPresent(uuid -> storeRecipientLocked(recipientId,
|
||||||
Recipient.newBuilder()
|
Recipient.newBuilder()
|
||||||
.withRecipientId(recipientId)
|
.withRecipientId(recipientId)
|
||||||
.withAddress(new RecipientAddress(recipient.getAddress().uuid().orElse(null)))
|
.withAddress(new RecipientAddress(uuid))
|
||||||
.build());
|
.build()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user