branch: master
commit 05bd7d066f50178e7d5e830c6ffecc53dd713979
Author: Thomas Fitzsimmons <[email protected]>
Commit: Thomas Fitzsimmons <[email protected]>
Excorporate: Change organizer representation
* packages/excorporate/excorporate.el
(exco--calendar-item-dolist): Change organizer to opaque
organizer-structure.
(exco-calendar-item-iterate-general): Document opaque
organizer-structure argument.
---
packages/excorporate/excorporate.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/packages/excorporate/excorporate.el
b/packages/excorporate/excorporate.el
index 4281da5..ec9f793 100644
--- a/packages/excorporate/excorporate.el
+++ b/packages/excorporate/excorporate.el
@@ -884,9 +884,7 @@ On each iteration, ITEM is set, and FORMS are run."
(mapcar 'org-trim
(split-string cc-invitees ";"))))
(item-identifier (assoc 'ItemId ,item))
- (organizer (cdr (assoc 'EmailAddress
- (assoc 'Mailbox
- (assoc 'Organizer ,item))))))
+ (organizer-structure (assoc 'Organizer ,item)))
,@forms)))
(defun exco-calendar-item-with-details-iterate (identifier
@@ -945,10 +943,11 @@ MAIN-INVITEES, a list of strings, email addresses of the
required
participants.
OPTIONAL-INVITEES, a list of strings, email addresses of optional
participants.
-ORGANIZER, a string representing the email address of the
-organizer of the meeting, in server-internal format."
ITEM-IDENTIFIER, a structure representing the calendar item. It
should be treated as opaque.
+ORGANIZER-STRUCTURE, a structure representing the organizer of
+the meeting. It should be treated as opaque and resolved with
+`exco-organizer-smtp-email-address'."
`(let ((result-list '()))
(exco--calendar-item-dolist
calendar-item (exco-extract-value '(ResponseMessages