Skip to content

Commit

Permalink
Merge pull request #2617 from Chris00/master
Browse files Browse the repository at this point in the history
mu4e-icalendar: Fix getting the organizer from the message
  • Loading branch information
djcb committed Jan 4, 2024
2 parents ad04f16 + 7257b3f commit b19f136
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions mu4e/mu4e-icalendar.el
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,11 @@
(organizer (when (and organizer
(not (string-empty-p organizer)))
organizer))
(organizer (or organizer
(car (plist-get msg :reply-to))
(car (plist-get msg :from))
(mu4e-warn "Cannot find organizer"))))
(organizer
(or organizer
(plist-get (car (plist-get msg :reply-to)) :email)
(plist-get (car (plist-get msg :from)) :email)
(mu4e-warn "Cannot find organizer"))))
(mu4e--compose-setup
'reply
(lambda (_parent)
Expand Down

0 comments on commit b19f136

Please sign in to comment.