summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e4d72bb)
raw | patch | inline | side by side (parent: e4d72bb)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 21 Oct 2001 04:00:20 +0000 (04:00 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 21 Oct 2001 04:00:20 +0000 (04:00 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@321 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/mailgw.py | patch | blob | history |
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index b20d1a8d12d341496643d649637c6cab810897af..53405ce889e646ca89e8afc55fa129b20861f5bd 100644 (file)
--- a/roundup/mailgw.py
+++ b/roundup/mailgw.py
an exception, the original message is bounced back to the sender with the
explanatory message given in the exception.
-$Id: mailgw.py,v 1.22 2001-10-21 03:35:13 richard Exp $
+$Id: mailgw.py,v 1.23 2001-10-21 04:00:20 richard Exp $
'''
'''%(nodeid, subject)
messages.append(message_id)
props['messages'] = messages
+
+ # if the message is currently 'unread', then set it to 'chatting'
+ if properties.has_key('status'):
+ try:
+ # determine the id of 'unread' and 'chatting'
+ unread_id = self.db.status.lookup('unread')
+ chatting_id = self.db.status.lookup('chatting')
+ except KeyError:
+ pass
+ else:
+ if not props['status'] or props['status'] == unread_id:
+ props['status'] = chatting_id
+
cl.set(nodeid, **props)
else:
# If just an item class name is found there, we attempt to create a
#
# $Log: not supported by cvs2svn $
+# Revision 1.22 2001/10/21 03:35:13 richard
+# bug #473125: Paragraph in e-mails
+#
# Revision 1.21 2001/10/21 00:53:42 richard
# bug #473130: Nosy list not set correctly
#