# HG changeset patch # User Paul Boddie # Date 1418229204 -3600 # Node ID f5f6a5cf6375cd066c1840a88abc9d1ffd1c372d # Parent b173128a08f636baea1eacc781a68647d05324a2 Only remove declined events from the free/busy record. diff -r b173128a08f6 -r f5f6a5cf6375 imiptools/handlers/person_outgoing.py --- a/imiptools/handlers/person_outgoing.py Tue Dec 09 23:21:07 2014 +0100 +++ b/imiptools/handlers/person_outgoing.py Wed Dec 10 17:33:24 2014 +0100 @@ -36,7 +36,7 @@ periods = self.get_periods() freebusy = self.store.get_freebusy(identity) or [] - if from_organiser or attr.get("PARTSTAT") == "ACCEPTED": + if from_organiser or attr.get("PARTSTAT") != "DECLINED": self.update_freebusy(freebusy, identity, periods) else: self.remove_from_freebusy(freebusy, identity)