* Use new MSet-Matcher to retrieve seen state (10% of what we do in big mboxes)
[citadel.git] / webcit / msg_renderers.c
index d53d7199a4f47fb34df2edd91c86a72bb6aa0102..a7c819ba026a0a70a65e8df7d2bc0725ec187140 100644 (file)
@@ -310,7 +310,7 @@ void tmplput_MAIL_SUMM_INREPLYTO(StrBuf *Target, WCTemplputParams *TP)
 int Conditional_MAIL_SUMM_UNREAD(StrBuf *Target, WCTemplputParams *TP)
 {
        message_summary *Msg = (message_summary*) CTX;
-       return Msg->is_new != 0;
+       return (Msg->Flags & MSGFLAG_READ) != 0;
 }
 
 void examine_wefw(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset)