diff --git a/CHANGELOG.md b/CHANGELOG.md index 743eb9245..2aa80bf22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## 4.4.7 - 2022-07-01 ### Fixes -Update SDK to prepare video conference and improve DTLS handshakes. +- When receiving a SIP URL, copy it in Smart search bar instead of openning conversation. +- Update SDK to prepare video conference and improve DTLS handshakes. ## 4.4.6 - 2022-06-14 diff --git a/linphone-app/src/components/url-handlers/UrlHandlers.cpp b/linphone-app/src/components/url-handlers/UrlHandlers.cpp index 54c87d963..ee41fbbc9 100644 --- a/linphone-app/src/components/url-handlers/UrlHandlers.cpp +++ b/linphone-app/src/components/url-handlers/UrlHandlers.cpp @@ -28,6 +28,7 @@ UrlHandlers::UrlHandlers (QObject *parent) : QObject(parent) { QDesktopServices::setUrlHandler("sip", this, "handleSip"); + QDesktopServices::setUrlHandler("sips", this, "handleSip"); } void UrlHandlers::handleSip (const QUrl &url) { diff --git a/linphone-app/ui/views/App/Main/MainWindow.qml b/linphone-app/ui/views/App/Main/MainWindow.qml index 0265c061a..77507eb48 100644 --- a/linphone-app/ui/views/App/Main/MainWindow.qml +++ b/linphone-app/ui/views/App/Main/MainWindow.qml @@ -367,13 +367,7 @@ ApplicationWindow { target: UrlHandlers onSip: { - console.log("Change conversation from url handler") - window.setView('Conversation', { - peerAddress: sipAddress, - localAddress: AccountSettingsModel.sipAddress, - fullPeerAddress: sipAddress, - fullLocalAddress: AccountSettingsModel.fullSipAddress - }) - } + mainSearchBar.text = sipAddress + } } }