1.1 --- a/imiptools/handlers/resource.py Wed Mar 04 18:03:35 2015 +0100
1.2 +++ b/imiptools/handlers/resource.py Thu Mar 05 01:01:44 2015 +0100
1.3 @@ -82,6 +82,10 @@
1.4
1.5 self.update_dtstamp()
1.6
1.7 + # Remove additional occurrences if a complete event is moved.
1.8 +
1.9 + has_moved = self.handle_moved_event(attendee)
1.10 +
1.11 # Set the complete event or an additional occurrence.
1.12
1.13 event = self.obj.to_node()
1.14 @@ -94,7 +98,7 @@
1.15 # Only update free/busy details if the event is scheduled.
1.16
1.17 if scheduled:
1.18 - self.update_freebusy(freebusy, periods)
1.19 + self.update_freebusy(freebusy, periods, replace_all=has_moved)
1.20 else:
1.21 self.remove_from_freebusy(freebusy)
1.22