Skip to content

Conversation

@IegorKozakov
Copy link
Contributor

  • Logout with expired session (WebRTC sample)
var peerState = app.currentSession.connectionStateForUser(userID),
userInfo = _.findWhere(app.users, {'id': +userID});

console.log('opponents.forEach peerState', peerState);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove log

videoElems += compiled({
'userID': userID,
'name': userInfo.full_name,
'name': userInfo ? userInfo.full_name : 'Unknown user',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of 'Unknown user' use userID, please

'name': app.caller.full_name,
}
});
// app.helpers.notifyIfUserLeaveCall(session, session.opponentsIDs[0], 'closed');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

@dimaspirit dimaspirit merged commit 3cc22fc into develop Dec 19, 2016
@dimaspirit dimaspirit deleted the develop.bugFixing branch December 19, 2016 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants