예제 #1
0
 def event_updated(self, event, changes, **kwargs):
     if not changes.viewkeys() & {'title', 'description', 'location_data'}:
         return
     for user in get_participating_users(event):
         self.logger.info('Event data change: updating %s in %r', user,
                          event)
         self._record_change(event, user, OutlookAction.update)
예제 #2
0
 def event_deleted(self, event, **kwargs):
     for user in get_participating_users(event):
         self.logger.info('Event deletion: removing %s in %r', user, event)
         self._record_change(event, user, OutlookAction.remove)
예제 #3
0
 def event_times_changed(self, sender, obj, **kwargs):
     event = obj
     for user in get_participating_users(event):
         self.logger.info('Event time change: updating %s in %r', user,
                          event)
         self._record_change(event, user, OutlookAction.update)