(js) Use matching address of attendee

Fixes #4473
This commit is contained in:
Francis Lachapelle
2019-07-04 15:49:38 -04:00
parent e24082183f
commit 06319e3d48
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -26,6 +26,7 @@ Bug fixes
- [web] don't hide compose button if messages list is visible
- [web] fixed next/previous slots with external attendees
- [web] fixed restoration of sub mailbox when reloading page
- [web] use matching address of attendee (#4473)
- [core] allow super users to modify any event (#4216)
- [core] correctly handle the full cert chain in S/MIME
- [core] handle multidays events in freebusy data
@@ -134,7 +134,7 @@
if (card) {
if (!this.component.attendees || (options && options.organizerCalendar)) {
// No attendee yet; initialize the organizer
this.initOrganizer(options? options.organizerCalendar : undefined);
this.initOrganizer(options? options.organizerCalendar : null);
}
if (card.$isList({expandable: true})) {
// Decompose list members
@@ -143,7 +143,7 @@
_.forEach(list.refs, function(ref) {
attendee = {
name: ref.c_cn,
email: ref.$preferredEmail(options? options.partial : undefined),
email: ref.$preferredEmail(options? options.partial : null),
role: Attendees.ROLES.REQ_PARTICIPANT,
partstat: 'needs-action',
uid: ref.c_uid,
@@ -172,7 +172,7 @@
isGroup: card.$isList(),
isResource: card.isresource,
name: card.c_cn,
email: card.$preferredEmail(),
email: card.$$email,
role: Attendees.ROLES.REQ_PARTICIPANT,
partstat: 'needs-action',
$avatarIcon: card.$avatarIcon