Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip adding remote duplicate events #470

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adzcai
Copy link

@adzcai adzcai commented Jul 2, 2023

A naive attempt to address #446.
When revalidating remote calendars, if an event with an ID already in the cache is found, just skip it.
This occurs after the events in the calendar are deleted, so naively I don't think this will run into concurrency issues, but I'd be grateful for somebody to think through it more carefully!

@danrasmuson
Copy link

I can confirm this fixed work

For anyone blocked on this and waiting for this PR to merged you can get it working by doing...

  1. Uninstalling and re-installing Full Calendar in Obsidian
  2. Then dragging the built main.js file form this PR (main.js.zip) into <my-vault>/.obsidian/plugins/obsidian-full-calendar
  3. Readding all calendars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants