From 21113dcb7ab2a5ede0ed71d66ac2393c7fd73175 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 29 Aug 2018 10:43:37 +0200 Subject: [PATCH] fix(Timeline): update correctly timeline entry when local address is not set --- ui/modules/Linphone/Timeline/Timeline.js | 2 +- ui/modules/Linphone/Timeline/Timeline.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) // ---------------------------------------------------------------------------