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)
cflag = 'M';
else if (attribute_is_userflag(attr, MAIL_ATTRIBUTE_SAVED))
cflag = '*';
else if (flags == MU_ATTRIBUTE_RECENT) /*FIXME*/
cflag = 'N';
else if (flags & MU_ATTRIBUTE_READ)
cflag = 'O';
else if (flags & MU_ATTRIBUTE_SEEN)
cflag = 'R';
else if (attribute_is_recent(attr))
cflag = 'N';
else
cflag = 'U';
......