1.1 --- a/imiptools/handlers/person_outgoing.py Mon Oct 05 17:19:54 2015 +0200
1.2 +++ b/imiptools/handlers/person_outgoing.py Mon Oct 05 17:20:30 2015 +0200
1.3 @@ -205,6 +205,20 @@
1.4
1.5 return True
1.6
1.7 + def _declinecounter(self):
1.8 +
1.9 + "Remove any counter-proposals for the given event."
1.10 +
1.11 + if not Client.is_participating(self):
1.12 + return False
1.13 +
1.14 + # Check for event using UID.
1.15 +
1.16 + if not self.have_new_object():
1.17 + return False
1.18 +
1.19 + self.store.dequeue_request(self.user, self.uid, self.recurrenceid)
1.20 +
1.21 class Event(PersonHandler):
1.22
1.23 "An event handler."
1.24 @@ -229,9 +243,9 @@
1.25
1.26 def declinecounter(self):
1.27
1.28 - "Declined counter-proposals are advisory and do not change events."
1.29 + "Expire any offer made by a counter-proposal."
1.30
1.31 - pass
1.32 + self._declinecounter()
1.33
1.34 def publish(self):
1.35