diff --git a/ui/modules/Linphone/Timeline/Timeline.js b/ui/modules/Linphone/Timeline/Timeline.js index d35937f17..15f321ebe 100644 --- a/ui/modules/Linphone/Timeline/Timeline.js +++ b/ui/modules/Linphone/Timeline/Timeline.js @@ -7,7 +7,7 @@ // ============================================================================= function setSelectedEntry (peerAddress, localAddress) { - if (localAddress !== Linphone.AccountSettingsModel.sipAddress) { + if (localAddress != null && localAddress !== Linphone.AccountSettingsModel.sipAddress) { resetSelectedEntry() return } diff --git a/ui/modules/Linphone/Timeline/Timeline.qml b/ui/modules/Linphone/Timeline/Timeline.qml index 7e2896cbb..b618dc899 100644 --- a/ui/modules/Linphone/Timeline/Timeline.qml +++ b/ui/modules/Linphone/Timeline/Timeline.qml @@ -19,7 +19,7 @@ Rectangle { // --------------------------------------------------------------------------- - signal entrySelected (var entry) + signal entrySelected (string entry) // ---------------------------------------------------------------------------