Update main.js

This commit is contained in:
Steve Seguin 2020-09-24 14:15:53 -04:00 committed by GitHub
parent bf24d6c02c
commit a3156bbfb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1814,7 +1814,7 @@ function joinRoom(roomname){
for (var i in response){
if ("UUID" in response[i]){
if ("streamID" in response[i]){
if (response[i].UUID in session.pcs){
if (response[i].UUID in session.rpcs){
log("RTC already connected"); /// lets just say instead of Stream, we have
} else {
//var title = ""; // TODO: Assign labels
@ -4363,4 +4363,4 @@ function EnterButtonChat(event){
// Trigger the button element with a click
sendChatMessage();
}
}
}