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