Mercurial > dovecot > core-2.2
changeset 22504:5db98cc03836
notify-status: Remove first_unseen_seq field
The sequence number keeps changing, so it's very unlikely to be useful.
It's also not always as efficiently available as the other fields, so
better to avoid having it.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Mon, 18 Sep 2017 23:04:55 +0300 |
parents | 2a6a6cfe8af6 |
children | 3bf3e3364e14 |
files | src/plugins/notify-status/notify-status-plugin.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/notify-status/notify-status-plugin.c Mon Sep 04 15:32:24 2017 +0300 +++ b/src/plugins/notify-status/notify-status-plugin.c Mon Sep 18 23:04:55 2017 +0300 @@ -114,7 +114,7 @@ #define MAILBOX_STATUS_NOTIFY (STATUS_MESSAGES|STATUS_UNSEEN|\ STATUS_RECENT|STATUS_UIDNEXT|\ - STATUS_UIDVALIDITY|STATUS_FIRST_UNSEEN_SEQ|\ + STATUS_UIDVALIDITY|\ STATUS_HIGHESTMODSEQ|STATUS_FIRST_RECENT_UID|\ STATUS_HIGHESTPVTMODSEQ) static void notify_update_mailbox_status(struct mailbox *box) @@ -160,7 +160,6 @@ { '\0', dec2str(status.recent), "recent" }, { '\0', dec2str(status.uidvalidity), "uidvalidity" }, { '\0', dec2str(status.uidnext), "uidnext" }, - { '\0', dec2str(status.first_unseen_seq), "first_unseen_seq" }, { '\0', dec2str(status.first_recent_uid), "first_recent_uid" }, { '\0', dec2str(status.highest_modseq), "highest_modseq" }, { '\0', dec2str(status.highest_pvt_modseq), "highest_pvt_modseq" },