mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
don't pick timezones when asking for contacts
This commit is contained in:
parent
0456d166cc
commit
240125aca7
1 changed files with 3 additions and 2 deletions
|
@ -416,8 +416,9 @@ class Application(object):
|
||||||
# Get collection item
|
# Get collection item
|
||||||
item = collection.get_item(item_name)
|
item = collection.get_item(item_name)
|
||||||
if item:
|
if item:
|
||||||
items = collection.timezones
|
items = [item]
|
||||||
items.append(item)
|
if collection.resource_type == "calendar":
|
||||||
|
items.extend(collection.timezones)
|
||||||
answer_text = ical.serialize(
|
answer_text = ical.serialize(
|
||||||
collection.tag, collection.headers, items)
|
collection.tag, collection.headers, items)
|
||||||
etag = item.etag
|
etag = item.etag
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue