summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline/docs/avoid-duplicates.txt
diff options
context:
space:
mode:
authorBarry Warsaw2011-04-17 11:37:06 -0400
committerBarry Warsaw2011-04-17 11:37:06 -0400
commitc2130f46808b3cf3cc27311d6d6f6b608e76b267 (patch)
treef020d0d8034f0e21bc3f00787e5d3b7f447954e5 /src/mailman/pipeline/docs/avoid-duplicates.txt
parentc894152772595a1acbd6dc4c1ac0e033888ea923 (diff)
parente2ed3ae7dfa138a8288b4c49cd2b671c35f6c703 (diff)
downloadmailman-c2130f46808b3cf3cc27311d6d6f6b608e76b267.tar.gz
mailman-c2130f46808b3cf3cc27311d6d6f6b608e76b267.tar.zst
mailman-c2130f46808b3cf3cc27311d6d6f6b608e76b267.zip
IUsers can now have a preferred email address, which must be verified. A user
can now subscribe to a mailing list, in which case, their preferred address will be used for the appropriate roster. Users cannot subscribe to a mailing list more than once, but they can still subscribe even if their preferred address is subscribed, and if a user is subscribed, an address they control can still be explicitly subscribed. Other changes: * .subscribe() is moved from the IAddress to the IMailingList * IUser.address and .user are now properties * Added IUser.preferred_address which is a get/set/del property
Diffstat (limited to 'src/mailman/pipeline/docs/avoid-duplicates.txt')
-rw-r--r--src/mailman/pipeline/docs/avoid-duplicates.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/pipeline/docs/avoid-duplicates.txt b/src/mailman/pipeline/docs/avoid-duplicates.txt
index bd753f9e9..1e46793c2 100644
--- a/src/mailman/pipeline/docs/avoid-duplicates.txt
+++ b/src/mailman/pipeline/docs/avoid-duplicates.txt
@@ -19,8 +19,8 @@ Create some members we're going to use.
>>> address_b = user_manager.create_address('bperson@example.com')
>>> from mailman.interfaces.member import MemberRole
- >>> member_a = address_a.subscribe(mlist, MemberRole.member)
- >>> member_b = address_b.subscribe(mlist, MemberRole.member)
+ >>> member_a = mlist.subscribe(address_a, MemberRole.member)
+ >>> member_b = mlist.subscribe(address_b, MemberRole.member)
>>> # This is the message metadata dictionary as it would be produced by
>>> # the CalcRecips handler.
>>> recips = dict(