1.1 --- a/imip_manager.py Thu Feb 05 15:51:30 2015 +0100
1.2 +++ b/imip_manager.py Thu Feb 05 15:52:55 2015 +0100
1.3 @@ -135,8 +135,12 @@
1.4
1.5 parts = [self.obj.to_part(method)]
1.6
1.7 + # As organiser, send an invitation to attendees, excluding oneself if
1.8 + # also attending. The updated event will be saved by the outgoing
1.9 + # handler.
1.10 +
1.11 if for_organiser:
1.12 - recipients = map(get_address, self.attendees)
1.13 + recipients = [get_address(attendee) for attendee in self.attendees if attendee != self.user]
1.14 else:
1.15 recipients = [get_address(self.organiser)]
1.16