The Inbox: Network-eem.239.mcz

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

The Inbox: Network-eem.239.mcz

A new version of Network was added to project The Inbox:

==================== Summary ====================

Name: Network-eem.239
Author: eem
Time: 11 February 2020, 3:44:34.386439 pm
UUID: 4a7fc777-149d-45ed-a205-a8ef149c84bd
Ancestors: Network-tpr.238

Use withoutDuplicates for what it was intended for.  Thanks to Timothy for the reminder.

=============== Diff against Network-tpr.238 ===============

Item was changed:
  ----- Method: MailMessage>>to: (in category 'accessing') -----
  to: aString
  | sanitizedMailAddresses |
+ sanitizedMailAddresses := (MailAddressParser addressesIn: aString) withoutDuplicates.
- sanitizedMailAddresses := (MailAddressParser addressesIn: aString) asSet asArray.
  ^self setField: 'to' toString: (sanitizedMailAddresses joinSeparatedBy: ', ')!