Mercurial > p > roundup > code
diff roundup/roundupdb.py @ 4547:d9d7319afffa
Add config-option "nosy" to messages_to_author setting in [nosy] section...
...of config: This will send a message to the author only in the case where
the author is on the nosy-list (either added earlier or via the
add_author setting). Current config-options for this setting will send /
not send to author without considering the nosy list.
[[Posted on behalf of Dr. Schlatterbeck during the git conversion.]]
committer: Eric S. Raymond <esr@thyrsus.com>
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Wed, 19 Oct 2011 11:32:20 -0400 |
| parents | 46239c21a1eb |
| children | dfbc0cfa9811 |
line wrap: on
line diff
--- a/roundup/roundupdb.py Tue Oct 18 10:20:29 2011 -0400 +++ b/roundup/roundupdb.py Wed Oct 19 11:32:20 2011 -0400 @@ -285,7 +285,9 @@ # anonymous if (good_recipient(authid) and (self.db.config.MESSAGES_TO_AUTHOR == 'yes' or - (self.db.config.MESSAGES_TO_AUTHOR == 'new' and not oldvalues))): + (self.db.config.MESSAGES_TO_AUTHOR == 'new' and not oldvalues) or + (self.db.config.MESSAGES_TO_AUTHOR == 'nosy' and authid in + self.get(issueid, whichnosy)))): add_recipient(authid, sendto) if authid:
