Browse Source

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

Jonas Herzig 5 years ago
parent
commit
b2031ea552
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/worker-client.js
  2. 1 1
      package.json

+ 1 - 1
app/worker-client.js

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

+ 1 - 1
package.json

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