Add private CardDAV synchronization and contact revision recovery
This commit is contained in:
1 parent
433169c7e7
commit
19e12f96a8
32 files changed
+1855
-47
No files matched your search
@@ -64,6 +64,9 @@ func (s *Server) handleTaskDAVCredentials(w http.ResponseWriter, r *http.Request
|
||||
if body.Scope != "tasks" {
|
||||
endpoint = calendarDAV
|
||||
}
|
||||
if body.Scope == "contacts" {
|
||||
endpoint = contactDAV
|
||||
}
|
||||
response := map[string]any{"credential": credential, "username": credential.ID, "password": password, "url": endpoint}
|
||||
if body.Scope == "tasks" {
|
||||
response["collection"] = taskDAVCollection
|
||||
|
||||
Reference in new issue
Block a user