diff --git a/services/gunDB/contact-api/events/index.js b/services/gunDB/contact-api/events/index.js index 21566c55..a6679a1d 100644 --- a/services/gunDB/contact-api/events/index.js +++ b/services/gunDB/contact-api/events/index.js @@ -436,6 +436,8 @@ const onOutgoing = cb => { /** @type {Chat[]} */ let currentChats = [] +export const getChats = () => currentChats + /** @type {Set} */ const chatsListeners = new Set()