Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2022-06-20 14:24:36 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2022-06-20 19:38:03 +0300
commit8682aa27bc9e3db681cd508dbfbc5606d59f3403 (patch)
tree80f50bed81a1c7890d1eb876b9e87c5594a74fd9 /docs
parent22f7bc66c3e0ad7bbecbdb45d992a195ca1f5992 (diff)
Remove half-working code related to sieges with guest users
Automatically joining the room after getting the "hello" message is needed only for guest users. However, sieges as guest users are not possible, as joining the room a second time from the same browser causes the first guest to be unregistered. Due to this the code to automatically join the room is removed. The method to join the room, however, is kept, as it will be used by the "Virtual participant" mode to be introduced in a later commit. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/Talkbuchet.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/Talkbuchet.js b/docs/Talkbuchet.js
index 61499f581..cc858ae2b 100644
--- a/docs/Talkbuchet.js
+++ b/docs/Talkbuchet.js
@@ -283,13 +283,6 @@ class Signaling extends EventTarget {
this.sessionId = sessionId
resolveSessionId(sessionId)
-
- if (!user) {
- // If the current user is a guest the room needs to be joined,
- // as guests are kicked out if they just open a session in the
- // signaling server.
- this.joinRoom()
- }
})
this.addEventListener('error', event => {