diff --git a/app/index.html b/app/index.html index 0d85f8c..f0fcca8 100644 --- a/app/index.html +++ b/app/index.html @@ -198,16 +198,16 @@ rel="information" src="/svg/information_icon.svg">
diff --git a/app/index.js b/app/index.js index b893928..e7cce7d 100644 --- a/app/index.js +++ b/app/index.js @@ -558,11 +558,11 @@ class GlobalBindings { } this.requestMute = user => { - if (user === this.thisUser) { + if (user === this.thisUser()) { this.selfMute(true) } if (this.connected()) { - if (user === this.thisUser) { + if (user === this.thisUser()) { this.client.setSelfMute(true) } else { user.model.setMute(true) @@ -571,12 +571,12 @@ class GlobalBindings { } this.requestDeaf = user => { - if (user === this.thisUser) { + if (user === this.thisUser()) { this.selfMute(true) this.selfDeaf(true) } if (this.connected()) { - if (user === this.thisUser) { + if (user === this.thisUser()) { this.client.setSelfDeaf(true) } else { user.model.setDeaf(true) @@ -585,12 +585,12 @@ class GlobalBindings { } this.requestUnmute = user => { - if (user === this.thisUser) { + if (user === this.thisUser()) { this.selfMute(false) this.selfDeaf(false) } if (this.connected()) { - if (user === this.thisUser) { + if (user === this.thisUser()) { this.client.setSelfMute(false) } else { user.model.setMute(false) @@ -599,11 +599,11 @@ class GlobalBindings { } this.requestUndeaf = user => { - if (user === this.thisUser) { + if (user === this.thisUser()) { this.selfDeaf(false) } if (this.connected()) { - if (user === this.thisUser) { + if (user === this.thisUser()) { this.client.setSelfDeaf(false) } else { user.model.setDeaf(false)