don't pick timezones when asking for contacts
This commit is contained in:
parent
0456d166cc
commit
240125aca7
@ -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…
x
Reference in New Issue
Block a user