imip-agent

Change of imiptools/content.py

174:2d5ef1aaf3c9
imiptools/content.py
     1.1 --- a/imiptools/content.py	Sun Jan 25 01:27:45 2015 +0100
     1.2 +++ b/imiptools/content.py	Sun Jan 25 21:25:00 2015 +0100
     1.3 @@ -509,9 +509,6 @@
     1.4          obj = obj or self.get_object(attendee, objtype)
     1.5  
     1.6          # If found, compare SEQUENCE and potentially DTSTAMP.
     1.7 -        # NOTE: Some clients like Claws Mail erase time information from DTSTAMP
     1.8 -        # NOTE: and make it invalid. Thus, attendance information may also be
     1.9 -        # NOTE: checked.
    1.10  
    1.11          if obj:
    1.12              sequence = get_value(obj, "SEQUENCE")
    1.13 @@ -526,6 +523,16 @@
    1.14          return True
    1.15  
    1.16      def is_partstat_updated(self, obj):
    1.17 +
    1.18 +        """
    1.19 +        Return whether the participant status has been updated in the current
    1.20 +        object in comparison to the given 'obj'.
    1.21 +
    1.22 +        NOTE: Some clients like Claws Mail erase time information from DTSTAMP
    1.23 +        NOTE: and make it invalid. Thus, such attendance information may also be
    1.24 +        NOTE: incorporated into any new object assessment.
    1.25 +        """
    1.26 +
    1.27          old_attendees = get_value_map(obj, "ATTENDEE")
    1.28          new_attendees = self.get_value_map("ATTENDEE")
    1.29