1.1 --- a/imiptools/handlers/common.py Sun Jul 26 02:01:24 2015 +0200
1.2 +++ b/imiptools/handlers/common.py Sun Jul 26 23:43:26 2015 +0200
1.3 @@ -69,7 +69,7 @@
1.4
1.5 class Outgoing:
1.6
1.7 - "Common outgoing message handling functionality."
1.8 + "Common outgoing message handling functionality mix-in."
1.9
1.10 def update_event_in_freebusy(self, from_organiser=True):
1.11
1.12 @@ -77,25 +77,9 @@
1.13
1.14 freebusy = self.store.get_freebusy(self.user)
1.15
1.16 - # Use the stored event in case the reply is incomplete, as is seen
1.17 - # when Claws sends a REPLY for an object originally employing
1.18 - # recurrence information.
1.19 -
1.20 - obj = self.get_definitive_object(from_organiser)
1.21 - if not obj:
1.22 - return False # although this should not happen
1.23 -
1.24 - # If newer than any old version, discard old details from the
1.25 - # free/busy record and check for suitability.
1.26 -
1.27 - # Interpretation of periods can depend on the time zone.
1.28 -
1.29 - periods = obj.get_periods(self.get_tzid(), self.get_window_end())
1.30 -
1.31 # Obtain the attendance attributes for this user, if available.
1.32
1.33 - attendees = uri_dict(self.obj.get_value_map("ATTENDEE"))
1.34 - self.update_freebusy_for_participant(freebusy, periods, attendees.get(self.user), from_organiser)
1.35 + self.update_freebusy_for_participant(freebusy, self.user, from_organiser)
1.36
1.37 # Remove original recurrence details replaced by additional
1.38 # recurrences, as well as obsolete additional recurrences.