mu4e-icalendar: Fix getting the organizer from the message

This commit is contained in:
Christophe Troestler 2024-01-03 12:13:40 +01:00
parent ad04f16b09
commit 7257b3fa3c
1 changed files with 5 additions and 4 deletions

View File

@ -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)