-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for updates and update public calendars
Fetch the open calendars every 20 seconds and check if they have changed since they were loaded. If a calendar changed remove all it's data from the store and thereby effectively trigger a reload. This is a fairly brute force approach as it drops all known data rather than fetching only the data that changed via the caldav sync API. However Caldav sync is yet to be implemented. (nextcloud/cdav-library#9) So this serves as a workaround for the time being. See #31. Signed-off-by: Azul <[email protected]>
- Loading branch information
Showing
3 changed files
with
80 additions
and
2 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