getChats()
This commit is contained in:
parent
76b8ed83c4
commit
0ff716db08
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue