1.1 --- a/imiptools/editing.py Fri Mar 23 15:44:51 2018 +0100
1.2 +++ b/imiptools/editing.py Fri Mar 23 15:45:31 2018 +0100
1.3 @@ -515,6 +515,12 @@
1.4 to_cancel = self.state.get("attendees_to_cancel")
1.5 return self.make_cancel_message(to_cancel)
1.6
1.7 + def prepare_cancel_publish_message(self):
1.8 +
1.9 + "Prepare the cancel message for the current user."
1.10 +
1.11 + return self.make_cancel_message_for_self()
1.12 +
1.13 def prepare_publish_message(self):
1.14
1.15 "Prepare the publishing message for the updated event."
1.16 @@ -678,6 +684,8 @@
1.17 to_remove.append(index - removed)
1.18 removed += 1
1.19
1.20 + # NOTE: This will not affect the main period.
1.21 +
1.22 for index in to_remove:
1.23 del periods[index]
1.24