1.1 --- a/imiptools/handlers/resource.py Tue Apr 07 22:25:41 2015 +0200
1.2 +++ b/imiptools/handlers/resource.py Tue Apr 07 22:27:59 2015 +0200
1.3 @@ -109,11 +109,10 @@
1.4 else:
1.5 self.remove_from_freebusy(freebusy)
1.6
1.7 - # Remove either original recurrence or additional recurrence
1.8 - # details depending on whether an additional recurrence or a
1.9 - # complete event are being handled, respectively.
1.10 + # Remove original recurrence details replaced by additional
1.11 + # recurrences, as well as obsolete additional recurrences.
1.12
1.13 - self.remove_freebusy_for_recurrences(freebusy)
1.14 + self.remove_freebusy_for_recurrences(freebusy, self.store.get_recurrences(self.user, self.uid))
1.15 self.store.set_freebusy(self.user, freebusy)
1.16
1.17 if self.publisher and self.is_sharing():