1.1 --- a/imiptools/client.py Sun Sep 13 18:01:51 2015 +0200
1.2 +++ b/imiptools/client.py Sun Sep 13 18:23:42 2015 +0200
1.3 @@ -351,7 +351,7 @@
1.4
1.5 obj = self.get_stored_object_version()
1.6
1.7 - if not obj or not self.have_new_object(obj):
1.8 + if not obj or not self.have_new_object():
1.9 return False
1.10
1.11 # Get attendee details in a usable form.
1.12 @@ -453,17 +453,18 @@
1.13
1.14 return can_schedule(freebusy, periods, self.uid, self.recurrenceid)
1.15
1.16 - def have_new_object(self, obj=None, strict=True):
1.17 + def have_new_object(self, strict=True):
1.18
1.19 """
1.20 - Return whether the current object is new to the current user (or if the
1.21 - given 'obj' is new). If 'strict' is specified and is a false value, the
1.22 - DTSTAMP test will be ignored. This is useful in handling responses from
1.23 - attendees from clients (like Claws Mail) that erase time information
1.24 - from DTSTAMP and make it invalid.
1.25 + Return whether the current object is new to the current user.
1.26 +
1.27 + If 'strict' is specified and is a false value, the DTSTAMP test will be
1.28 + ignored. This is useful in handling responses from attendees from
1.29 + clients (like Claws Mail) that erase time information from DTSTAMP and
1.30 + make it invalid.
1.31 """
1.32
1.33 - obj = obj or self.get_stored_object_version()
1.34 + obj = self.get_stored_object_version()
1.35
1.36 # If found, compare SEQUENCE and potentially DTSTAMP.
1.37