SettingsViewController: fix typo when checking if TLS is available

This commit is contained in:
Gautier Pelloux-Prayer 2015-09-02 16:54:43 +02:00
parent 338ef353da
commit c1d6b7f4c4

View file

@ -508,7 +508,7 @@ static UICompositeViewDescription *compositeDescription = nil;
#pragma mark -
+ (IASKSpecifier *)filterSpecifier:(IASKSpecifier *)specifier {
if (linphone_core_sip_transport_supported([LinphoneManager getLc], LinphoneTransportTls)) {
if (!linphone_core_sip_transport_supported([LinphoneManager getLc], LinphoneTransportTls)) {
if ([[specifier key] isEqualToString:@"transport_preference"]) {
NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithDictionary:[specifier specifierDict]];
NSMutableArray *titles = [NSMutableArray arrayWithArray:[dict objectForKey:@"Titles"]];