feat(Calls): avoid undefined on some properties when call is ended

This commit is contained in:
Nicolas Follet 2017-06-19 11:39:48 +02:00
parent b8dbdd9863
commit af69ff5199
2 changed files with 2 additions and 1 deletions

View file

@ -22,6 +22,7 @@ Window {
callError: '',
isOutgoing: true,
recording: false,
localSas: '',
sipAddress: '',
type: false,
updating: true,

View file

@ -87,7 +87,7 @@ function handleVideoRequested () {
}
function makeReadableSecuredString (securedString) {
if (!securedString.length) {
if (!securedString || !securedString.length) {
return qsTr('callNotSecured')
}