Removed support for old call history

This commit is contained in:
Juha Heinanen
2026-06-26 16:35:35 +03:00
parent 7cc07a2821
commit d439b86fa2
2 changed files with 1 additions and 49 deletions
@@ -557,18 +557,7 @@ class BaresipService: Service() {
}
Contact.contactsUpdate()
val history = CallHistory.get()
if (history.isEmpty())
CallHistoryNew.restore()
else
for (old in history) {
val new = CallHistoryNew(old.aor, old.peerUri, old.direction)
new.stopTime = old.stopTime
new.startTime = old.startTime
new.recording = old.recording
new.add()
}
CallHistoryNew.restore()
Blocked.restore()
BlockRule.restore()