mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
More comprehensive fix for collections where sync_token does not compute.
This commit is contained in:
1 parent
f32ec4b704
commit
85017681d0
1 file changed
+4
-2
+4
-2
@@ -1632,8 +1632,10 @@ EOQRY;
|
||||
break;
|
||||
|
||||
case 'DAV::sync-token':
|
||||
if ( ! $this->_is_collection || $this->_is_principal ) return false;
|
||||
$reply->NSElement($prop, $tag, $this->sync_token() );
|
||||
if ( ! $this->_is_collection ) return false;
|
||||
$sync_token = $this->sync_token();
|
||||
if ( empty($sync_token) ) return false;
|
||||
$reply->NSElement($prop, $tag, $sync_token );
|
||||
break;
|
||||
|
||||
case 'http://calendarserver.org/ns/:calendar-proxy-read-for':
|
||||
|
||||
Reference in new issue
Block a user