sharing/bday/report: backmap suffix

This commit is contained in:
Peter Bieringer
2026-03-14 20:22:28 +01:00
parent 5fb3234eea
commit c3f0ba2353

View File

@@ -793,6 +793,9 @@ def retrieve_items(
if share:
# map back to owner
hreference = hreference.replace(share['PathOrToken'], share['PathMapped'])
if share['ShareType'] == "bday":
if not hreference.endswith('/'):
hreference = hreference.rstrip(".ics") + ".vcf"
try:
name = pathutils.name_from_path(hreference, collection)
except ValueError as e: