diff --git a/web/static/js/BareRTC.js b/web/static/js/BareRTC.js index f327367..e2bd878 100644 --- a/web/static/js/BareRTC.js +++ b/web/static/js/BareRTC.js @@ -1630,6 +1630,7 @@ const app = Vue.createApp({ unMutualVideo() { // If we had our camera on to watch a video of someone who wants mutual cameras, // and then we turn ours off: we should unfollow the ones with mutual video. + if (this.webcam.active) return; for (let row of this.whoList) { let username = row.username; if ((row.video & this.VideoFlag.MutualRequired) && this.WebRTC.pc[username] != undefined) { @@ -1670,26 +1671,6 @@ const app = Vue.createApp({ return false; }, - // Show who watches our video. - showViewers() { - // TODO: for now, ChatClient is our bro. - let users = Object.keys(this.webcam.watching); - if (users.length === 0) { - this.ChatClient("There is currently nobody viewing your camera."); - } else { - this.ChatClient("Your current webcam viewers are:

" + users.join(", ")); - } - - // Also focus the Watching list. - this.whoTab = 'watching'; - - // TODO: if mobile, show the panel - this width matches - // the media query in chat.css - if (screen.width < 1024) { - this.openWhoPanel(); - } - }, - // Boot someone off yourn video. bootUser(username) { if (!window.confirm( diff --git a/web/templates/chat.html b/web/templates/chat.html index e0e8afd..f31753b 100644 --- a/web/templates/chat.html +++ b/web/templates/chat.html @@ -511,15 +511,6 @@ Unmute - - -