Message3089
 
 
 
 
  
      Logged In: NO 
Here is the patch to the cvs HEAD as of 16:00 eastern time today to add 
the ability to send email to the autor of the message only if it is a new 
message.
The advantage of this is that the author:
   knows 
positively that the issue has been received if he
       sends it by 
email
  eases email interaction with the issue regardless of how 
     the issue was submitted (web or email)
Index: 
roundup/roundupdb.py
===================================================================
RCS 
file: /cvsroot/roundup/roundup/roundupdb.py,v
retrieving revision 
1.3
diff -u -r1.3 roundupdb.py
--- roundup/roundupdb.py        2003/02/08 
02:37:43     1.3
+++ roundup/roundupdb.py        2003/02/08 
03:42:48
@@ -130,9 +130,12 @@
 
         # possibly send the 
message to the author, as long as they aren't
         # anonymous
-        if 
(self.db.config.MESSAGES_TO_AUTHOR == 'yes' and
-                
users.get(authid, 'username') != 'anonymous'):
-            
sendto.append(authid)
+        if (users.get(authid, 'username') != 
'anonymous'):
+            if (self.db.config.MESSAGES_TO_AUTHOR == 
'yes'):
+                sendto.append(authid)
+            elif 
(self.db.config.MESSAGES_TO_AUTHOR == 'new' and
+                  not 
oldvalues): # send only if new message
+               
sendto.append(authid)
         r[authid] = 1
 
         # now deal with cc 
people.
 | 
   
  
 
|
 
| Date | 
User | 
Action | 
Args | 
 
| 2009-02-03 14:23:31 | admin | link | issue625808 messages |  
| 2009-02-03 14:23:31 | admin | create |  |  
 
 
 |