Roundup Tracker - Issues

Message3090

Author rouilj
Recipients
Date 2003-02-08.06:01:34
Message-id
In-reply-to
Logged In: YES 
user_id=707416

Actually use this patch instead. It allows a reactor to make
multiple 
nosy calls without duplicating email to the author. It
also updated the 
recipient list to show that the author
received a copy.

Index: 
roundupdb.py
===================================================================
RCS 
file: /cvsroot/roundup/roundup/roundupdb.py,v
retrieving revision 
1.4
diff -u -r1.4 roundupdb.py
--- roundupdb.py        2003/02/08 04:13:50     
1.4
+++ roundupdb.py        2003/02/08 05:48:57
@@ -130,12 
+130,15 @@
 
         # possibly send the message to the author, as long 
as they aren't
         # anonymous
-        if (users.get(authid, 'username') != 
'anonymous'):
+        if (users.get(authid, 'username') != 'anonymous' 
and
+            not r.has_key(authid)):
             if 
(self.db.config.MESSAGES_TO_AUTHOR == 'yes'):
                 
sendto.append(authid)
+                recipients.append(authid)
             elif 
(self.db.config.MESSAGES_TO_AUTHOR == 'new' and
                   not 
oldvalues): # send only if new message
                
sendto.append(authid)
+                recipients.append(authid)
         r[authid] = 
1
 
         # now deal with cc people.





-- rouilj
History
Date User Action Args
2009-02-03 14:23:31adminlinkissue625808 messages
2009-02-03 14:23:31admincreate