diff --git a/services/gunDB/contact-api/events/index.js b/services/gunDB/contact-api/events/index.js index f129e1e3..d046c7eb 100644 --- a/services/gunDB/contact-api/events/index.js +++ b/services/gunDB/contact-api/events/index.js @@ -513,8 +513,8 @@ const processChats = debounce(() => { didDisconnect: pubToFeed[out.with] === 'disconnected', id: out.with + outID, messages: msgs, - recipientAvatar: pubToAvatar[out.with] || null, - recipientDisplayName: pubToDn[out.with] || null, + recipientAvatar: null, + recipientDisplayName: null, lastSeenApp: pubToLastSeenApp[out.with] || null } diff --git a/services/gunDB/contact-api/events/onReceivedReqs.js b/services/gunDB/contact-api/events/onReceivedReqs.js index 35b91cac..66048e83 100644 --- a/services/gunDB/contact-api/events/onReceivedReqs.js +++ b/services/gunDB/contact-api/events/onReceivedReqs.js @@ -63,8 +63,8 @@ const react = debounce(() => { if (!inContact && !isDisconnected) { newReceivedReqsMap[req.from] = { id, - requestorAvatar: pubToAvatar[req.from] || null, - requestorDisplayName: pubToDn[req.from] || null, + requestorAvatar: null, + requestorDisplayName: null, requestorPK: req.from, timestamp: req.timestamp } diff --git a/services/gunDB/contact-api/events/onSentReqs.js b/services/gunDB/contact-api/events/onSentReqs.js index 93e0740d..653ad3dc 100644 --- a/services/gunDB/contact-api/events/onSentReqs.js +++ b/services/gunDB/contact-api/events/onSentReqs.js @@ -95,13 +95,13 @@ const react = debounce(() => { newReqs.push({ id: sentReqID, - recipientAvatar: pubToAvatar[recipientPub] || null, + recipientAvatar: null, recipientChangedRequestAddress: // if we haven't received the other's user current handshake address, // let's assume he hasn't changed it and that this request is still // valid typeof currAddress !== 'undefined' && handshakeAddress !== currAddress, - recipientDisplayName: pubToDN[recipientPub] || null, + recipientDisplayName: null, recipientPublicKey: recipientPub, timestamp })