diff --git a/.gitmodules b/.gitmodules index d3b85a979..1702fc8f8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -111,4 +111,3 @@ [submodule "submodules/ortp"] path = submodules/ortp url = git://git.linphone.org/ortp.git - diff --git a/Classes/Contact.m b/Classes/Contact.m index 6e99cccf0..bac49ea09 100644 --- a/Classes/Contact.m +++ b/Classes/Contact.m @@ -197,8 +197,8 @@ if (_person) { normSip = [self setOrCreateSipContactEntry:index withValue:sip]; NSDictionary *lDict = @{ - (NSString *)kABPersonInstantMessageUsernameKey : normSip ? normSip : sip, - (NSString *)kABPersonInstantMessageServiceKey : LinphoneManager.instance.contactSipField + (NSString *) kABPersonInstantMessageUsernameKey : normSip ? normSip : sip, (NSString *) + kABPersonInstantMessageServiceKey : LinphoneManager.instance.contactSipField }; ret = [self replaceInProperty:kABPersonInstantMessageProperty value:(__bridge CFTypeRef)(lDict) atIndex:index]; @@ -358,8 +358,8 @@ CFErrorRef error = NULL; NSDictionary *lDict = @{ - (NSString *)kABPersonInstantMessageUsernameKey : value, - (NSString *)kABPersonInstantMessageServiceKey : [LinphoneManager instance].contactSipField + (NSString *) kABPersonInstantMessageUsernameKey : value, (NSString *) + kABPersonInstantMessageServiceKey : [LinphoneManager instance].contactSipField }; if (![self replaceInProperty:kABPersonInstantMessageProperty value:(__bridge CFTypeRef)(lDict) atIndex:index]) {