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,