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