Skip to content

Commit

Permalink
disabled check isRequesterInSenderDB
Browse files Browse the repository at this point in the history
  • Loading branch information
silkroadnomad committed Mar 8, 2024
1 parent 1f5f1dc commit 8afb6b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/network/p2p-operations.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ async function handleMessage (dContactMessage) {
requesterDB = await _orbitdb.open(data.sharedAddress, {
type: 'documents',sync: true})

// const isRes = await isRecipientInSenderDB(requesterDB, messageObj) //TODO this seems contradicting we need to think twice again
// const isRes = await isRequesterInSenderDB(requesterDB, messageObj) //TODO this seems contradicting we need to think twice again
// if (isRes === true)
// break;

Expand Down Expand Up @@ -213,7 +213,7 @@ async function handleMessage (dContactMessage) {
* @param messageObj the message of Alice
* @returns {Promise<boolean>}
*/
async function isRecipientInSenderDB (requesterDB, messageObj){
async function isRequesterInSenderDB (requesterDB, messageObj){

const records = await requesterDB.all()

Expand Down

0 comments on commit 8afb6b2

Please sign in to comment.