summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/xml/attendee.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pykolab/xml/attendee.py b/pykolab/xml/attendee.py
index 98b823d..15f1c1a 100644
--- a/pykolab/xml/attendee.py
+++ b/pykolab/xml/attendee.py
@@ -78,6 +78,8 @@ class Attendee(kolabformat.Attendee):
if not isinstance(delegator, Attendee):
raise ValueError, _("Not a valid attendee")
else:
+ self.set_role(delegator.get_role())
+ self.set_cutype(delegator.get_cutype())
crefs.append(delegator.contactreference)
if len(crefs) == 0: