carddav: compatibility with go-webdav
This commit is contained in:
parent
e3ec66ed0f
commit
9a26c9d63a
|
@ -2,6 +2,7 @@ package carddav
|
|||
|
||||
import (
|
||||
"net/http"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/emersion/hydroxide/protonmail"
|
||||
|
@ -45,6 +46,10 @@ func (ao *addressObject) Card() (vcard.Card, error) {
|
|||
return card, nil
|
||||
}
|
||||
|
||||
func (ao *addressObject) Stat() (os.FileInfo, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
type addressBook struct {
|
||||
c *protonmail.Client
|
||||
cache map[string]carddav.AddressObject
|
||||
|
|
Loading…
Reference in New Issue