From b0c615d4831d498bf81935b8c3f849ac68ab7402 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Wed, 29 Jan 2020 18:51:04 -0400 Subject: [PATCH] typo --- services/gunDB/contact-api/events/onSentReqs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gunDB/contact-api/events/onSentReqs.js b/services/gunDB/contact-api/events/onSentReqs.js index 09057ef3..ad6decf1 100644 --- a/services/gunDB/contact-api/events/onSentReqs.js +++ b/services/gunDB/contact-api/events/onSentReqs.js @@ -56,7 +56,7 @@ const react = () => { id: sentReqID, recipientAvatar: pubToAvatar[recipientPub] || null, recipientChangedRequestAddress: - typeof currAddress && handshakeAddress !== currAddress, + typeof currAddress !== 'undefined' && handshakeAddress !== currAddress, recipientDisplayName: pubToDN[recipientPub] || null, recipientPublicKey: recipientPub, timestamp