From a75e982e345d391dcb8b732917c6e9fbebd6a0d6 Mon Sep 17 00:00:00 2001 From: JeanLebrument Date: Mon, 28 Dec 2015 19:00:11 +0100 Subject: [PATCH] Fix url parsing in social media infos --- Sources/APContact+EasyMapping.m | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Sources/APContact+EasyMapping.m b/Sources/APContact+EasyMapping.m index 69f0473..b753b2a 100644 --- a/Sources/APContact+EasyMapping.m +++ b/Sources/APContact+EasyMapping.m @@ -110,10 +110,7 @@ + (EKObjectMapping *)objectMapping { } reverseBlock:^id(id value) { return [socialNetworkTypes allKeysForObject:value].lastObject; }]; - [mapping mapPropertiesFromArray:@[@"username", @"userIdentifier"]]; - [mapping mapKeyPath:@"url" toProperty:@"url" - withValueBlock:[EKMappingBlocks urlMappingBlock] - reverseBlock:[EKMappingBlocks urlReverseMappingBlock]]; + [mapping mapPropertiesFromArray:@[@"username", @"userIdentifier", @"url"]]; }]; }