From 5c40b95e9a93e064d78577f28d176357a57bd7f9 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sat, 25 Apr 2020 17:49:50 +0200 Subject: [PATCH] Discard permissions when disconnecting. --- static/sfu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/sfu.js b/static/sfu.js index 308fe7c..b4064db 100644 --- a/static/sfu.js +++ b/static/sfu.js @@ -95,6 +95,7 @@ function setConnected(connected) { userform.classList.add('userform'); userform.classList.remove('userform-invisible'); disconnectbutton.classList.add('disconnect-invisible'); + permissions={}; } }