diff roundup/mailgw.py @ 321:d0d6feb17d2f

Fix unread->chatting auto transition, thanks Roch'e
author Richard Jones <richard@users.sourceforge.net>
date Tue, 23 Oct 2001 22:57:52 +0000
parents 895a1c09f4ae
children 256776bfdfc5
line wrap: on
line diff
--- a/roundup/mailgw.py	Tue Oct 23 22:56:36 2001 +0000
+++ b/roundup/mailgw.py	Tue Oct 23 22:57:52 2001 +0000
@@ -72,7 +72,7 @@
 an exception, the original message is bounced back to the sender with the
 explanatory message given in the exception. 
 
-$Id: mailgw.py,v 1.23 2001-10-21 04:00:20 richard Exp $
+$Id: mailgw.py,v 1.24 2001-10-23 22:57:52 richard Exp $
 '''
 
 
@@ -374,7 +374,8 @@
                 except KeyError:
                     pass
                 else:
-                    if not props['status'] or props['status'] == unread_id:
+                    if (not props.has_key('status') or
+                            props['status'] == unread_id):
                         props['status'] = chatting_id
 
             cl.set(nodeid, **props)
@@ -431,6 +432,9 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.23  2001/10/21 04:00:20  richard
+# MailGW now moves 'unread' to 'chatting' on receiving e-mail for an issue.
+#
 # Revision 1.22  2001/10/21 03:35:13  richard
 # bug #473125: Paragraph in e-mails
 #

Roundup Issue Tracker: http://roundup-tracker.org/