mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
migrate call history db
This commit is contained in:
parent
b830262ccd
commit
5ff4e6a4dd
1 changed files with 7 additions and 0 deletions
|
|
@ -1853,6 +1853,13 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
|
|||
removeItemAtPath:[LinphoneManager oldDataFile:@"x3dh.c25519.sqlite3"]
|
||||
error:nil];
|
||||
}
|
||||
|
||||
// call history
|
||||
if ([LinphoneManager copyFile:[LinphoneManager oldDataFile:kLinphoneInternalChatDBFilename] destination:[LinphoneManager dataFile:kLinphoneInternalChatDBFilename] override:TRUE ignore:TRUE]) {
|
||||
[NSFileManager.defaultManager
|
||||
removeItemAtPath:[LinphoneManager oldDataFile:kLinphoneInternalChatDBFilename]
|
||||
error:nil];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)renameDefaultSettings {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue