Commit 8d58a988 8d58a9886af666246bf4a745e2b1fd1dbbdd785b by Sergey Poznyakoff

Output the actual number of recent messages.

1 parent 58cc46ab
......@@ -226,11 +226,11 @@ notify (void)
size_t uid = 0;
mailbox_get_message (mbox, i, &msg);
message_get_uid (msg, &uid);
if (!notify_uid (uid))
recent++;
notify_uid (uid);
}
notify_deleted ();
util_out (RESP_NONE, "%d EXISTS", total);
mailbox_messages_recent (mbox, &recent);
if (recent)
util_out (RESP_NONE, "%d RECENT", recent);
}
......