From cce1a75ad6637c4a29863b127f1a91b786836131 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Thu, 20 Feb 2020 15:52:03 -0400 Subject: [PATCH] correct export --- services/gunDB/contact-api/events/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/gunDB/contact-api/events/index.js b/services/gunDB/contact-api/events/index.js index d1e83383..1e340a4c 100644 --- a/services/gunDB/contact-api/events/index.js +++ b/services/gunDB/contact-api/events/index.js @@ -436,7 +436,7 @@ const onOutgoing = cb => { /** @type {Chat[]} */ let currentChats = [] -export const getChats = () => currentChats +const getChats = () => currentChats /** @type {Set} */ const chatsListeners = new Set() @@ -604,5 +604,6 @@ module.exports = { onChats, getAvatar, getDisplayName, - getHandshakeAddress + getHandshakeAddress, + getChats }