Closed Bug 1727720 Opened 3 years ago Closed 3 years ago

Add a property to nsIAbCard which can be used for any number of email addresses

Categories

(MailNews Core :: Address Book, task)

Tracking

(thunderbird_esr91 unaffected)

RESOLVED FIXED
93 Branch
Tracking Status
thunderbird_esr91 --- unaffected

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(2 files)

There's currently a number of places where the code first looks at a card's PrimaryEmail property, and then at its SecondEmail property. This limits functionality to just two email addresses. We want to be able to have any number of email addresses, so I'm adding an attribute to nsIAbCard which is an array of the card's addresses. For now, it will still only look at the two properties, but it will enable us to prepare the code for any number of addresses. When the functionality is added, we shouldn't have to change the front-end.

Target Milestone: --- → 93 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/daeea000b72b
Add a property to nsIAbCard which can be used for any number of email addresses. r=mkmelin
https://hg.mozilla.org/comm-central/rev/642320212863
Update the UI to use nsIAbCard.emailAddresses instead of PrimaryEmail and SecondEmail properties. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: