Skip to content

Commit

Permalink
fix(Attendee): Print RSVP also if rsvp is set to false
Browse files Browse the repository at this point in the history
closes #340
  • Loading branch information
sebbo2002 committed Jan 10, 2022
1 parent 947a001 commit 27e5166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attendee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ export default class ICalAttendee {
}

// RSVP
if (this.data.rsvp) {
if (this.data.rsvp !== null) {
g += ';RSVP=' + this.data.rsvp.toString().toUpperCase();
}

Expand Down

0 comments on commit 27e5166

Please sign in to comment.