Upgrade method

This commit is contained in:
Pierre HUBERT 2020-04-11 14:28:37 +02:00
parent c840193007
commit fd95411045

View File

@ -102,8 +102,8 @@ class CallWindow extends CustomEvents {
// Apply this list of user
for(const user of currMembersList)
if(user != userID())
await this.AddMember(user)
if(user.userID != userID())
await this.AddMember(user.userID)
} catch(e) {
console.error(e)
@ -329,6 +329,7 @@ class CallWindow extends CustomEvents {
NewSignal(peerID, data) {
if(peerID == userID())
if(this.mainPeer)
this.mainPeer.signal(data)
else