- Added to main menu possibility to export and import all application date.
- Improved encryption/decryption of exported/imported data. If accounts were exported, they need to be exported again. - Lots of other implemetation improvements.
This commit is contained in:
@@ -36,7 +36,7 @@ class Message(val aor: String, val peerUri: String, val message: String, val tim
|
||||
while (it.hasNext()) if (it.next().aor == aor) it.remove()
|
||||
}
|
||||
|
||||
fun saveMessages() {
|
||||
fun save() {
|
||||
val file = File(BaresipService.filesPath, "messages")
|
||||
try {
|
||||
val fos = FileOutputStream(file)
|
||||
@@ -51,7 +51,7 @@ class Message(val aor: String, val peerUri: String, val message: String, val tim
|
||||
}
|
||||
}
|
||||
|
||||
fun restoreMessages() {
|
||||
fun restore() {
|
||||
val file = File(BaresipService.filesPath, "messages")
|
||||
if (file.exists()) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user