[haiku-commits] r35270 - haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox

  • From: mmlr@xxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 23 Jan 2010 21:37:49 +0100 (CET)

Author: mmlr
Date: 2010-01-23 21:37:48 +0100 (Sat, 23 Jan 2010)
New Revision: 35270
Changeset: http://dev.haiku-os.org/changeset/35270/haiku

Modified:
   haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox/filter.cpp
Log:
Add the "Delivery-Date" to the default headers. This provides a fallback in case
the "Date" header is missing.


Modified: haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox/filter.cpp
===================================================================
--- haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox/filter.cpp 
2010-01-23 18:21:38 UTC (rev 35269)
+++ haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox/filter.cpp 
2010-01-23 20:37:48 UTC (rev 35270)
@@ -46,6 +46,7 @@
        { "From",               B_MAIL_ATTR_FROM,               B_STRING_TYPE },
        { "Cc",                         B_MAIL_ATTR_CC,                 
B_STRING_TYPE },
        { "Date",               B_MAIL_ATTR_WHEN,               B_TIME_TYPE   },
+       { "Delivery-Date",      B_MAIL_ATTR_WHEN,               B_TIME_TYPE   },
        { "Reply-To",           B_MAIL_ATTR_REPLY,              B_STRING_TYPE },
        { "Subject",            B_MAIL_ATTR_SUBJECT,    B_STRING_TYPE },
        { "X-Priority",         B_MAIL_ATTR_PRIORITY,   B_STRING_TYPE },        
// Priorities with prefered


Other related posts:

  • » [haiku-commits] r35270 - haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox - mmlr