actually store listener

This commit is contained in:
Daniel Lugo 2020-01-29 12:04:41 -04:00
parent 72ff9eb21a
commit 03fe61f2e4

View file

@ -398,6 +398,7 @@ const processOutgoings = async () => {
* @returns {() => void}
*/
const onOutgoing = cb => {
outgoingsListeners.add(cb)
cb(currentOutgoings)
const currentUser = require('../Mediator').getUser()