Commit af69ff51 authored by Nicolas Follet's avatar Nicolas Follet

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

parent b8dbdd98
...@@ -22,6 +22,7 @@ Window { ...@@ -22,6 +22,7 @@ Window {
callError: '', callError: '',
isOutgoing: true, isOutgoing: true,
recording: false, recording: false,
localSas: '',
sipAddress: '', sipAddress: '',
type: false, type: false,
updating: true, updating: true,
......
...@@ -87,7 +87,7 @@ function handleVideoRequested () { ...@@ -87,7 +87,7 @@ function handleVideoRequested () {
} }
function makeReadableSecuredString (securedString) { function makeReadableSecuredString (securedString) {
if (!securedString.length) { if (!securedString || !securedString.length) {
return qsTr('callNotSecured') return qsTr('callNotSecured')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment