1.1 --- a/imiptools/handlers/person_outgoing.py Mon Oct 12 23:53:38 2015 +0200
1.2 +++ b/imiptools/handlers/person_outgoing.py Tue Oct 13 16:27:19 2015 +0200
1.3 @@ -29,26 +29,10 @@
1.4
1.5 "Handling mechanisms specific to people."
1.6
1.7 - def set_identity(self, method):
1.8 -
1.9 - """
1.10 - Set the current user for the current object in the context of the given
1.11 - 'method'. It is usually set when initialising the handler, using the
1.12 - recipient details, but outgoing messages do not reference the recipient
1.13 - in this way.
1.14 - """
1.15 -
1.16 - if self.obj:
1.17 - from_organiser = method in self.organiser_methods
1.18 - self.user = get_uri(self.obj.get_value(from_organiser and "ORGANIZER" or "ATTENDEE"))
1.19 -
1.20 def _add(self):
1.21
1.22 "Add a recurrence for the current object."
1.23
1.24 - if not Client.is_participating(self):
1.25 - return False
1.26 -
1.27 # Obtain valid organiser and attendee details.
1.28
1.29 oa = self.require_organiser_and_attendees()
1.30 @@ -83,9 +67,6 @@
1.31 from an organiser if 'from_organiser' is set to a true value.
1.32 """
1.33
1.34 - if not Client.is_participating(self):
1.35 - return False
1.36 -
1.37 # Check for a new event, tolerating not-strictly-new events if the
1.38 # attendee is responding.
1.39
1.40 @@ -141,9 +122,6 @@
1.41 from an organiser if 'from_organiser' is set to a true value.
1.42 """
1.43
1.44 - if not Client.is_participating(self):
1.45 - return False
1.46 -
1.47 # Check for event using UID.
1.48
1.49 if not self.have_new_object():
1.50 @@ -210,9 +188,6 @@
1.51
1.52 "Remove any counter-proposals for the given event."
1.53
1.54 - if not Client.is_participating(self):
1.55 - return False
1.56 -
1.57 # Check for event using UID.
1.58
1.59 if not self.have_new_object():