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 }