1.1 --- a/imiptools/handlers/person_outgoing.py Thu Feb 26 19:47:43 2015 +0100
1.2 +++ b/imiptools/handlers/person_outgoing.py Thu Feb 26 23:56:30 2015 +0100
1.3 @@ -76,6 +76,15 @@
1.4
1.5 if update_freebusy:
1.6
1.7 + # Use the stored event for non-organiser messages in case the reply
1.8 + # is incomplete, as is seen when Claws sends a REPLY for an object
1.9 + # originally employing recurrence information.
1.10 +
1.11 + if not from_organiser:
1.12 + obj = self.get_object(identity)
1.13 + else:
1.14 + obj = self.obj
1.15 +
1.16 # Interpretation of periods can depend on the time zone.
1.17
1.18 preferences = Preferences(identity)
1.19 @@ -84,7 +93,7 @@
1.20 # If newer than any old version, discard old details from the
1.21 # free/busy record and check for suitability.
1.22
1.23 - periods = self.obj.get_periods_for_freebusy(tzid)
1.24 + periods = obj.get_periods_for_freebusy(tzid)
1.25 freebusy = self.store.get_freebusy(identity)
1.26
1.27 if attr.get("PARTSTAT") != "DECLINED":