From 9b512c1840042305c57962cf91604d7449f740ef Mon Sep 17 00:00:00 2001 From: hatim boufnichel Date: Fri, 23 Jul 2021 22:24:51 +0200 Subject: [PATCH] allow 'me' as pub --- services/gunDB/sockets/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gunDB/sockets/index.js b/services/gunDB/sockets/index.js index e2f4d999..acadd3e0 100644 --- a/services/gunDB/sockets/index.js +++ b/services/gunDB/sockets/index.js @@ -123,7 +123,7 @@ const queryListenerCallback = ({ }) } const eventName = `query:data` - if (publicKeyForDecryption?.length > 15 || epubForDecryption || epubField) { + if (publicKeyForDecryption?.length > 0 || epubForDecryption || epubField) { const decData = await deepDecryptIfNeeded( data, publicKeyForDecryption,