mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
Change channel.leave to channel.close
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user