1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-23 07:16:48 +02:00

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

View File

@ -130,9 +130,10 @@
(organizer (when (and organizer (organizer (when (and organizer
(not (string-empty-p organizer))) (not (string-empty-p organizer)))
organizer)) organizer))
(organizer (or organizer (organizer
(car (plist-get msg :reply-to)) (or organizer
(car (plist-get msg :from)) (plist-get (car (plist-get msg :reply-to)) :email)
(plist-get (car (plist-get msg :from)) :email)
(mu4e-warn "Cannot find organizer")))) (mu4e-warn "Cannot find organizer"))))
(mu4e--compose-setup (mu4e--compose-setup
'reply 'reply