Remove double 'data' event on write

This commit is contained in:
haad 2016-03-07 10:24:11 +01:00
parent 16f8e71bf7
commit 8d8240cb90

View File

@ -51,7 +51,7 @@ class OrbitClient {
_onWrite(channel, hash) { _onWrite(channel, hash) {
this._pubsub.publish(channel, hash) this._pubsub.publish(channel, hash)
this.events.emit('data', channel, hash); // this.events.emit('data', channel, hash);
} }
_onSync(channel, hash) { _onSync(channel, hash) {