carddav: add displayname and addressbook-description to server

This commit is contained in:
Simon Ser
2020-01-19 14:53:58 +01:00
parent 797b2f8fc5
commit edfc2804b5
5 changed files with 28 additions and 7 deletions

View File

@@ -25,8 +25,8 @@ type addressbookHomeSet struct {
}
type addressbookDescription struct {
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:carddav addressbook-description"`
Data string `xml:",chardata"`
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:carddav addressbook-description"`
Description string `xml:",chardata"`
}
// https://tools.ietf.org/html/rfc6352#section-10.3