fix(feed): fix store unsync case

This commit is contained in:
Alexey Kasyanchuk
2018-07-22 15:17:32 +03:00
parent 869d0e52d3
commit 08fbca648a

View File

@ -149,10 +149,10 @@ module.exports = class P2PStore extends EventEmitter {
return return
} }
this.emit('store', value)
if(callback) if(callback)
callback() callback()
}) })
this.emit('store', value)
} }
store(obj) store(obj)