Fix users being shown in incorrect channel (fixes #38)

This commit is contained in:
Jonas Herzig 2018-10-23 17:06:07 +02:00
parent 1fa4669d8b
commit b2031ea552
2 changed files with 2 additions and 2 deletions

View file

@ -372,7 +372,7 @@ class WorkerBasedMumbleUser extends EventEmitter {
} }
get channel () { get channel () {
return this._client.channels[this._channelId] return this._client._channels[this._channelId]
} }
} }
export default WorkerBasedMumbleConnector export default WorkerBasedMumbleConnector

View file

@ -1,6 +1,6 @@
{ {
"name": "mumble-web", "name": "mumble-web",
"version": "0.5.0", "version": "0.5.1",
"description": "An HTML5 Mumble client.", "description": "An HTML5 Mumble client.",
"scripts": { "scripts": {
"build": "webpack && [ -f dist/config.local.js ] || cp app/config.local.js dist/", "build": "webpack && [ -f dist/config.local.js ] || cp app/config.local.js dist/",