Merge lp:~cjwatson/launchpad/answers-mail-team into lp:launchpad
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 17697 |
Proposed branch: | lp:~cjwatson/launchpad/answers-mail-team |
Merge into: | lp:launchpad |
Diff against target: |
245 lines (+94/-44) 4 files modified
lib/lp/answers/doc/question.txt (+11/-10) lib/lp/answers/mail/question.py (+46/-0) lib/lp/answers/model/question.py (+25/-26) lib/lp/answers/model/questionjob.py (+12/-8) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad/answers-mail-team |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant (community) | code | Approve | |
Review via email: mp+269091@code.launchpad.net |
Commit message
Make question notification rationales more consistent, including team annotations for subscribers.
Description of the change
Make question notification rationales more consistent, including team annotations for subscribers.
This isn't a full conversion to BaseMailer, but I made use of RecipientReason from there because it handles all the rationale logic for teams.
As a bonus, this fixes an inconsistency that apparently nobody had noticed before, in which mail to answer contacts included the target name in parentheses if the answer contact was a team, but the target display name if the answer contact was a person.
To post a comment you must log in.
I'd be tempted to use phrases such as "assigned to" and "subscribed to", but perhaps that'd break a lot of tests.