Commit e3441a83 e3441a834bf17a30bce1699e5265721b530debb9 by Sergey Poznyakoff

Changed order of checking message attribute bits to be compatible with existing implementations.

1 parent 4befbf28
...@@ -84,10 +84,12 @@ mail_from (int argc, char **argv) ...@@ -84,10 +84,12 @@ mail_from (int argc, char **argv)
84 cflag = 'M'; 84 cflag = 'M';
85 else if (attribute_is_userflag(attr, MAIL_ATTRIBUTE_SAVED)) 85 else if (attribute_is_userflag(attr, MAIL_ATTRIBUTE_SAVED))
86 cflag = '*'; 86 cflag = '*';
87 else if (flags == MU_ATTRIBUTE_RECENT) /*FIXME*/
88 cflag = 'N';
89 else if (flags & MU_ATTRIBUTE_READ) 87 else if (flags & MU_ATTRIBUTE_READ)
88 cflag = 'O';
89 else if (flags & MU_ATTRIBUTE_SEEN)
90 cflag = 'R'; 90 cflag = 'R';
91 else if (attribute_is_recent(attr))
92 cflag = 'N';
91 else 93 else
92 cflag = 'U'; 94 cflag = 'U';
93 95
......