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

Avoid errors when using aliases in calendar invites #621

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

Conversation

lightheaded
Copy link

If the calendar ID (i.e. the primary email) doesn't exactly match the invitee's email, gcalcli agenda --nodeclined will throw an error.

This change changes makes use of the 'self' property of the attendee to determine identity instead of comparing strings, thus enabling support for alias-based invitations.

Now it's possible for firstname.lastname@domain.com to be invited as firstname@domain.com and still use gcalcli agenda --nodeclined.

#620

If the calendar ID (i.e. the primary email) doesn't exactly match the invitee's email, `gcalcli agenda --nodeclined` will throw an error.

This change changes makes use of the 'self' property of the attendee to determine identity instead of comparing strings, thus enabling support for alias-based invitations. 

Now it's possible for firstname.lastname@domain.com to be invited as firstname@domain.com and still use `gcalcli agenda --nodeclined`.

insanum#620
@lightheaded
Copy link
Author

Hi @insanum! Would you mind merging it?

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.

None yet

1 participant