gnus-icalendar.el (gnus-icalendar-identities): include message-alternative-emails
authorJan Tatarik <jan.tatarik@gmail.com>
Mon, 6 Oct 2014 08:43:24 +0000 (10:43 +0200)
committerJan Tatarik <jan.tatarik@gmail.com>
Mon, 6 Oct 2014 08:43:24 +0000 (10:43 +0200)
lisp/gnus-icalendar.el

index 9027c53..3362cc8 100644 (file)
@@ -676,8 +676,9 @@ Gnus will only offer you the Accept/Tentative/Decline buttons for
 calendar events if any of your identities matches at least one
 RSVP participant.
 
-Your identity is guessed automatically from the variables `user-full-name',
-`user-mail-address', and `gnus-ignored-from-addresses'.
+Your identity is guessed automatically from the variables
+`user-full-name', `user-mail-address',
+`gnus-ignored-from-addresses' and `message-alternative-emails'.
 
 If you need even more aliases you can define them here.  It really
 only makes sense to define names or email addresses."
@@ -703,6 +704,7 @@ These will be used to retrieve the RSVP information from ical events."
                  (list user-full-name (regexp-quote user-mail-address)
                        ; NOTE: these can be lists
                        gnus-ignored-from-addresses ; already regexp-quoted
+                       message-alternative-emails  ;
                        (mapcar #'regexp-quote gnus-icalendar-additional-identities)))))
 
 ;; TODO: make the template customizable