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

Don't sync declined events #32

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

ineffyble
Copy link

This prevents syncing an event where you have declined the invitation. This is useful since declining an invitation does not automatically delete the event from your calendar.

This code could probably be improved with optional chaining, but this is the version I know works.

@hgabreu
Copy link

hgabreu commented Jun 1, 2023

Yep, this is good, but I think not necessarily always desired by everyone. Maybe adding a boolean to toggle this behavior in the header section would be helpful.

@karbassi
Copy link
Owner

karbassi commented Jun 1, 2023

@ineffyble, I love this PR.

@hgabreu I do agree that some people may want declined events to still be synced.

@karbassi
Copy link
Owner

karbassi commented Jun 1, 2023

@ineffyble Can you test the changes on your system to make sure we're good? I'll test on mine.

Once we're good, I'll merge!

Ratithoglys added a commit to Ratithoglys/sync-multiple-google-calendars that referenced this pull request Sep 20, 2023
Don't sync declined events

From karbassi#32
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.

3 participants