Enable replying to an ical event even when not an attendee
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-event--build-reply-event-body): Display a warning instead of barfing when user is missing from attendee list. When the user identity is not present in the attendee list, an error is triggered making replying to such an event impossible (the reply message not being even composed). This replaces it with a warning. This is necessary because one may receive events that the organizer did not set up well and it is up to the user to decide whether or not to reply to them (bug#41723). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
283fce4c3c
commit
2194284c55
1 changed files with 2 additions and 1 deletions
|
@ -312,7 +312,8 @@ status will be retrieved from the first matching attendee record."
|
|||
|
||||
(unless (gnus-icalendar-find-if (lambda (x) (string-match "^ATTENDEE" x))
|
||||
reply-event-lines)
|
||||
(error "Could not find an event attendee matching given identity"))
|
||||
(lwarn 'gnus-icalendar :warning
|
||||
"Could not find an event attendee matching given identity"))
|
||||
|
||||
(mapconcat #'identity `("BEGIN:VEVENT"
|
||||
,@(nreverse reply-event-lines)
|
||||
|
|
Loading…
Add table
Reference in a new issue