mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Avoid openning a conversation on sip url and copy the URL into the smartsearchbar.
This commit is contained in:
parent
da46ea004b
commit
e327d0bf3a
3 changed files with 5 additions and 9 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue