mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
parent
275be59c25
commit
5837a6982b
1 changed files with 7 additions and 5 deletions
|
@ -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()
|
||||||
Recipient.newBuilder()
|
.uuid()
|
||||||
.withRecipientId(recipientId)
|
.ifPresent(uuid -> storeRecipientLocked(recipientId,
|
||||||
.withAddress(new RecipientAddress(recipient.getAddress().uuid().orElse(null)))
|
Recipient.newBuilder()
|
||||||
.build());
|
.withRecipientId(recipientId)
|
||||||
|
.withAddress(new RecipientAddress(uuid))
|
||||||
|
.build()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue