gcalcli icon indicating copy to clipboard operation
gcalcli copied to clipboard

Avoid errors when using aliases in calendar invites

Open lightheaded opened this issue 4 years ago • 1 comments

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 [email protected] to be invited as [email protected] and still use gcalcli agenda --nodeclined.

https://github.com/insanum/gcalcli/issues/620

lightheaded avatar Nov 18 '21 14:11 lightheaded

Hi @insanum! Would you mind merging it?

lightheaded avatar Jan 13 '22 07:01 lightheaded