imip-agent

Change of imiptools/handlers/resource.py

158:bb9494547de1
imiptools/handlers/resource.py
     1.1 --- a/imiptools/handlers/resource.py	Thu Jan 22 17:50:22 2015 +0100
     1.2 +++ b/imiptools/handlers/resource.py	Thu Jan 22 17:50:54 2015 +0100
     1.3 @@ -19,7 +19,8 @@
     1.4  this program.  If not, see <http://www.gnu.org/licenses/>.
     1.5  """
     1.6  
     1.7 -from imiptools.content import Handler, format_datetime, get_address, get_uri, to_part
     1.8 +from imiptools.content import Handler, format_datetime, get_address, get_uri, \
     1.9 +    to_part
    1.10  from imiptools.handlers.common import CommonFreebusy
    1.11  from vCalendar import to_node
    1.12  
    1.13 @@ -76,6 +77,10 @@
    1.14  
    1.15          self.details["ATTENDEE"] = [(attendee, attendee_attr)]
    1.16  
    1.17 +        # Update the DTSTAMP.
    1.18 +
    1.19 +        self.update_dtstamp()
    1.20 +
    1.21          event = to_node({"VEVENT" : [(self.details, {})]})
    1.22          self.store.set_event(attendee, self.uid, event)
    1.23