1.1 --- a/imiptools/handlers/person.py Tue Apr 19 21:57:44 2016 +0200
1.2 +++ b/imiptools/handlers/person.py Tue Apr 19 23:44:33 2016 +0200
1.3 @@ -214,6 +214,18 @@
1.4 # Update free/busy details for the event.
1.5
1.6 self.update_event_in_freebusy(for_organiser=True)
1.7 +
1.8 + # Produce a REQUEST for the created occurrence for other
1.9 + # attendees of the parent event.
1.10 +
1.11 + obj = self.get_parent_object()
1.12 + stored_attendees = set(obj.get_values("ATTENDEE"))
1.13 + attendees = stored_attendees.difference(attendees)
1.14 +
1.15 + for attendee in attendees:
1.16 + methods, parts = self.get_message_parts(self.obj, "REQUEST", attendee)
1.17 + self.add_results(methods, [get_address(attendee)], parts)
1.18 +
1.19 return True
1.20
1.21 # Merge the attendance for the received object.