Change channel.leave to channel.close

This commit is contained in:
haad
2016-03-08 18:33:43 +01:00
parent 613b3d04a5
commit 376a3ab289

View File

@@ -40,9 +40,7 @@ class OrbitClient {
const items = this._iterator(channel, password, { key: key }).collect();
return items[0] ? items[0].value : null;
},
subscribe: () => {
},
leave: () => this._pubsub.unsubscribe(channel)
close: () => this._pubsub.unsubscribe(channel)
}
}