mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
remove useless code
This commit is contained in:
parent
e28875d5f8
commit
973e8262d8
1 changed files with 0 additions and 16 deletions
|
|
@ -768,22 +768,6 @@
|
|||
[lm lpConfigSetBool:[self boolForKey:@"pref_accept_early_media_preference"] forKey:@"pref_accept_early_media"];
|
||||
linphone_core_set_media_encryption_mandatory(LC, [self boolForKey:@"media_encrption_mandatory_preference"]);
|
||||
|
||||
// chat section
|
||||
if (linphone_core_get_media_encryption(LC) != LinphoneMediaEncryptionZRTP) {
|
||||
linphone_core_set_media_encryption(LC, LinphoneMediaEncryptionZRTP);
|
||||
[self setCString:"ZRTP" forKey:@"media_encryption_preference"];
|
||||
UIAlertController *errView = [UIAlertController alertControllerWithTitle:NSLocalizedString(@"ZRTP activation", nil)
|
||||
message:NSLocalizedString(@"LIME requires ZRTP encryption.\n"
|
||||
@"By activating LIME you automatically activate ZRTP media encryption.",
|
||||
nil)
|
||||
preferredStyle:UIAlertControllerStyleAlert];
|
||||
|
||||
UIAlertAction *defaultAction = [UIAlertAction actionWithTitle:@"OK"
|
||||
style:UIAlertActionStyleDefault
|
||||
handler:^(UIAlertAction *action){}];
|
||||
[errView addAction:defaultAction];
|
||||
[PhoneMainView.instance presentViewController:errView animated:YES completion:nil];
|
||||
}
|
||||
linphone_core_set_file_transfer_server(LC, [self stringForKey:@"file_transfer_server_url_preference"].UTF8String);
|
||||
int maxSize;
|
||||
NSString *downloadMode = [self stringForKey:@"auto_download_mode"];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue