2017-10-15 | Paul Boddie | raw files shortlog changelog graph | Preserve organiser attendance information when updating attendee details. | client-editing-simplification |
imiptools/client.py (file) |
1.1 --- a/imiptools/client.py Sun Oct 15 01:04:32 2017 +0200 1.2 +++ b/imiptools/client.py Sun Oct 15 18:39:24 2017 +0200 1.3 @@ -745,7 +745,7 @@ 1.4 1.5 # Only the organiser can reset the participation attributes. 1.6 1.7 - if self.is_organiser(): 1.8 + if self.is_organiser() and attendee != self.user: 1.9 attr.update({"PARTSTAT" : "NEEDS-ACTION", "RSVP" : "TRUE"}) 1.10 1.11 attendee_map[attendee] = attr