-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Save deleted events as ‘cancelled’ instead of deleting them.
Summary: D1371 changed the way we stored deleted events — instead of deleting them we save them as « cancelled ». This diff updates the google event sync code to do the same. What I changed: - removed the event deletion code from remote_sync.py - split the `SyncResponse` named tuple into `SyncResponse` and `CalendarResponse` --- the reasoning being that we want to treat event deletes as regular updates, but we still need to distinguish calendar deletes from updates. Test Plan: Tested manually. Reviewers: jennie, emfree Reviewed By: emfree Projects: #calendars Differential Revision: https://review.inboxapp.com/D1401
- Loading branch information
Showing
6 changed files
with
96 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters