Monotone-Parent: c1548a6a3e72a7d9b567b63d50198115fa48ab0b
Monotone-Revision: 7a38303ac45419355a1bdedefd53d63339248410 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-03-27T20:55:20 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
905d2c885c
commit
4489085c59
|
@ -14,6 +14,7 @@
|
|||
* SoObjects/Contacts/SOGoUserFolder+Contacts.m
|
||||
(-davDirectoryGateway): new getter that returns the url to the
|
||||
first available directory source.
|
||||
(-davResourceType): declare resource as "directory" (carddav).
|
||||
|
||||
2012-03-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
|
|
|
@ -137,14 +137,13 @@
|
|||
- (NSArray *) davResourceType
|
||||
{
|
||||
NSMutableArray *resourceType;
|
||||
NSArray *cardDavCollection;
|
||||
|
||||
cardDavCollection
|
||||
= [NSArray arrayWithObjects: @"addressbook",
|
||||
@"urn:ietf:params:xml:ns:carddav", nil];
|
||||
NSArray *type;
|
||||
|
||||
resourceType = [NSMutableArray arrayWithArray: [super davResourceType]];
|
||||
[resourceType addObject: cardDavCollection];
|
||||
type = [NSArray arrayWithObjects: @"addressbook", XMLNS_CARDDAV, nil];
|
||||
[resourceType addObject: type];
|
||||
type = [NSArray arrayWithObjects: @"directory", XMLNS_CARDDAV, nil];
|
||||
[resourceType addObject: type];
|
||||
|
||||
return resourceType;
|
||||
}
|
||||
|
@ -621,7 +620,7 @@
|
|||
- (id) davAddressbookMultiget: (id) queryContext
|
||||
{
|
||||
return [self performMultigetInContext: queryContext
|
||||
inNamespace: @"urn:ietf:params:xml:ns:carddav"];
|
||||
inNamespace: XMLNS_CARDDAV];
|
||||
}
|
||||
|
||||
- (NSString *) davDisplayName
|
||||
|
|
Loading…
Reference in a new issue