Include also mobile account's call and chat history in backup

This commit is contained in:
Juha Heinanen
2026-06-04 09:37:29 +03:00
parent 7a7ad4f02e
commit a5225db7e3
2 changed files with 9 additions and 4 deletions
@@ -2104,6 +2104,8 @@ class BaresipService: Service() {
Log.d(TAG, "Removing Mobile account (role lost or SIM missing)")
existingMobileUa.remove()
Account.saveAccounts()
CallHistoryNew.save()
Message.save()
updateStatusNotification()
}
return
@@ -2132,6 +2134,8 @@ class BaresipService: Service() {
uasStatus.value = UserAgent.statusMap()
Account.saveAccounts()
CallHistoryNew.save()
Message.save()
updateStatusNotification()
}