mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Fix missing null check
This commit is contained in:
parent
c1775913b9
commit
cef83d962c
1 changed files with 4 additions and 1 deletions
|
@ -917,7 +917,10 @@ public class RecipientStore implements RecipientIdCreator, RecipientResolver, Re
|
|||
final var recipientId = recipientAddress.get().id();
|
||||
markDiscoverable(connection, recipientId, false);
|
||||
final var contact = getContact(connection, recipientId);
|
||||
if (recipientAddress.get().address().aci().isEmpty() || contact.unregisteredTimestamp() != null) {
|
||||
if (recipientAddress.get().address().aci().isEmpty() || (
|
||||
contact != null
|
||||
&& contact.unregisteredTimestamp() != null
|
||||
)) {
|
||||
markUnregisteredAndSplitIfNecessary(connection, recipientId);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue