# HG changeset patch # User Paul Boddie # Date 1442253361 -7200 # Node ID 6c1d81deed5e62327a8496ecc4daf8269a114ca5 # Parent fd5b95868804b2337227d2e00933502bf08059de Ignore participation when updating free/busy offers since PARTSTAT is not set. diff -r fd5b95868804 -r 6c1d81deed5e imiptools/client.py --- a/imiptools/client.py Mon Sep 14 19:03:13 2015 +0200 +++ b/imiptools/client.py Mon Sep 14 19:56:01 2015 +0200 @@ -396,7 +396,8 @@ obj["ATTENDEE"] = attendee_map.items() - # Set the complete event if not an additional occurrence. + # Set a specific recurrence or the complete event if not an additional + # occurrence. self.store.set_event(self.user, self.uid, self.recurrenceid, obj.to_node()) @@ -686,7 +687,7 @@ # Record in the free/busy details unless a non-participating attendee. # Remove periods for non-participating attendees. - if self.is_participating(user, for_organiser and not updating_other): + if offer or self.is_participating(user, for_organiser and not updating_other): self.update_freebusy(freebusy, user, for_organiser and not updating_other or not for_organiser and updating_other,