getChats()

This commit is contained in:
Daniel Lugo 2020-02-20 15:31:29 -04:00
parent 76b8ed83c4
commit 0ff716db08

View file

@ -436,6 +436,8 @@ const onOutgoing = cb => {
/** @type {Chat[]} */ /** @type {Chat[]} */
let currentChats = [] let currentChats = []
export const getChats = () => currentChats
/** @type {Set<ChatsListener>} */ /** @type {Set<ChatsListener>} */
const chatsListeners = new Set() const chatsListeners = new Set()