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[]} */
|
||||
let currentChats = []
|
||||
|
||||
export const getChats = () => currentChats
|
||||
const getChats = () => currentChats
|
||||
|
||||
/** @type {Set<ChatsListener>} */
|
||||
const chatsListeners = new Set()
|
||||
|
|
@ -604,5 +604,6 @@ module.exports = {
|
|||
onChats,
|
||||
getAvatar,
|
||||
getDisplayName,
|
||||
getHandshakeAddress
|
||||
getHandshakeAddress,
|
||||
getChats
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue