correct export
This commit is contained in:
parent
335f8ac222
commit
cce1a75ad6
1 changed files with 3 additions and 2 deletions
|
|
@ -436,7 +436,7 @@ const onOutgoing = cb => {
|
||||||
/** @type {Chat[]} */
|
/** @type {Chat[]} */
|
||||||
let currentChats = []
|
let currentChats = []
|
||||||
|
|
||||||
export const getChats = () => currentChats
|
const getChats = () => currentChats
|
||||||
|
|
||||||
/** @type {Set<ChatsListener>} */
|
/** @type {Set<ChatsListener>} */
|
||||||
const chatsListeners = new Set()
|
const chatsListeners = new Set()
|
||||||
|
|
@ -604,5 +604,6 @@ module.exports = {
|
||||||
onChats,
|
onChats,
|
||||||
getAvatar,
|
getAvatar,
|
||||||
getDisplayName,
|
getDisplayName,
|
||||||
getHandshakeAddress
|
getHandshakeAddress,
|
||||||
|
getChats
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue