mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-24 23:28:09 +00:00
fix #LINQT-1328 reset missed calls if already in call history
This commit is contained in:
parent
72d2096ae7
commit
aade817755
1 changed files with 8 additions and 0 deletions
|
|
@ -17,6 +17,14 @@ Control.TabBar {
|
|||
onDefaultAccountChanged: {
|
||||
if (defaultAccount) defaultAccount.core?.lRefreshNotifications()
|
||||
}
|
||||
Connections {
|
||||
enabled: defaultAccount
|
||||
target: defaultAccount.core
|
||||
onUnreadCallNotificationsChanged: {
|
||||
console.log("unread changed", currentIndex)
|
||||
if (currentIndex === 0) defaultAccount?.core.lResetMissedCalls()
|
||||
}
|
||||
}
|
||||
|
||||
component UnreadNotification: Rectangle {
|
||||
id: unreadNotifications
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue