From b397c94ee59aac9cc95e4b4833e48282d45782dc Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Mon, 4 May 2026 21:35:12 +0200 Subject: [PATCH] do not offer version on particular item (relates to https://github.com/Kozea/Radicale/pull/2116) --- radicale/app/propfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/app/propfind.py b/radicale/app/propfind.py index 1916a857..7c7ee449 100644 --- a/radicale/app/propfind.py +++ b/radicale/app/propfind.py @@ -168,7 +168,7 @@ def xml_propfind_response( props = [] # Should list all properties that can be retrieved by the code below props.append(xmlutils.make_clark("D:principal-collection-set")) - if user: + if user and is_collection: props.append(xmlutils.make_clark("RADICALE:version")) props.append(xmlutils.make_clark("D:current-user-principal")) props.append(xmlutils.make_clark("D:current-user-privilege-set"))