Skip to content

Commit

Permalink
Merge pull request #639 from stakwork/aa/feature/people-fix
Browse files Browse the repository at this point in the history
Connect to people fix
  • Loading branch information
tomastiminskas authored Sep 21, 2023
2 parents 88b1898 + 29e66ea commit 9d061f1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,9 @@ abstract class SphinxRepository(
response = loadResponse
}
is Response.Success -> {
val contact = getContactByPubKey(lightningNodePubKey).firstOrNull()
val contact = getContactByPubKey(lightningNodePubKey).firstOrNull {
it?.rsaPublicKey != null
}

response = if (contact != null) {
val messageBuilder = SendMessage.Builder()
Expand Down

0 comments on commit 9d061f1

Please sign in to comment.