- Show history view on clicking notification bubble in account

- Fix call view
- Fix empty conference URI as error
This commit is contained in:
Julien Wadel 2021-09-15 19:43:47 +02:00
parent ed52503ef9
commit d6ca4b1ab8
4 changed files with 14 additions and 17 deletions

View file

@ -19,6 +19,12 @@ Item {
property alias betterIcon : presenceLevel.betterIcon
// ---------------------------------------------------------------------------
MouseArea {
id:mouseArea
anchors.fill:parent
onClicked: accountStatus.clicked()
}
ColumnLayout {
anchors.fill:parent
@ -77,6 +83,10 @@ Item {
id: messageCounter
anchors.fill: parent
count: CoreManager.eventCount
MouseArea{
anchors.fill: parent
onClicked: window.setView('HistoryView')
}
}
}
Item{//Spacer
@ -96,10 +106,5 @@ Item {
}
}//ColumnLayout
MouseArea {
id:mouseArea
anchors.fill:parent
onClicked: accountStatus.clicked()
}
}

View file

@ -141,18 +141,10 @@ ListView {
var params = loader.params
return params ? 'call_sign_' + params.string : ''
}
/*
peerAddress: $call.peerAddress
localAddress: $call.localAddress
fullPeerAddress: $call.fullPeerAddress
fullLocalAddress: $call.fullLocalAddress
onPeerAddressChanged: console.log("Call : " +peerAddress)
*/
entry: $call
width: parent.width
width: calls.width
onClicked: {
if ($call.status !== CallModel.CallStatusEnded) {

View file

@ -107,7 +107,7 @@ function handleRouteChanged (route) {
dialog._routeOk = route.length === 0 || Linphone.SipAddressesModel.addressIsValid(route)
}
function handleConferenceUriChanged (uri) {
dialog._conferenceUriOk = Linphone.SipAddressesModel.addressIsValid(uri)
dialog._conferenceUriOk = uri=='' || Linphone.SipAddressesModel.addressIsValid(uri)
}
function handleServerAddressChanged (address) {

View file

@ -16,7 +16,7 @@ DialogPlus {
property bool _sipAddressOk: false
property bool _serverAddressOk: false
property bool _routeOk: false
property bool _conferenceUriOk: false
property bool _conferenceUriOk: true
buttons: [
TextButtonA {