From c4e0e85c51c0aecb11c95abe5e6c960eacfdfbc2 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Mon, 13 Jul 2020 17:28:25 -0400 Subject: [PATCH] correct logic --- services/gunDB/contact-api/getters/wall.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/gunDB/contact-api/getters/wall.js b/services/gunDB/contact-api/getters/wall.js index aeb00746..9ac3c6fb 100644 --- a/services/gunDB/contact-api/getters/wall.js +++ b/services/gunDB/contact-api/getters/wall.js @@ -77,7 +77,7 @@ const getWallPage = async (page, publicKey) => { */ let user = u - if (publicKey && u._.sea.pub === publicKey) { + if (publicKey && u._.sea.pub !== publicKey) { user = g.user(publicKey) } @@ -105,7 +105,7 @@ const getWallPage = async (page, publicKey) => { */ let user = u - if (publicKey && u._.sea.pub) { + if (publicKey && u._.sea.pub !== publicKey) { user = g.user(publicKey) }