From: Timo Sirainen Date: Mon, 18 Sep 2017 20:04:55 +0000 (+0300) Subject: notify-status: Remove first_unseen_seq field X-Git-Tag: 2.3.0.rc1~996 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c449ac9f4b353cb75b1a27f0fc96da3940829b8;p=thirdparty%2Fdovecot%2Fcore.git 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. --- diff --git a/src/plugins/notify-status/notify-status-plugin.c b/src/plugins/notify-status/notify-status-plugin.c index a6e6a27e5d..539683b2aa 100644 --- a/src/plugins/notify-status/notify-status-plugin.c +++ b/src/plugins/notify-status/notify-status-plugin.c @@ -119,7 +119,7 @@ static void notify_update_callback(const struct dict_commit_result *result, #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) @@ -165,7 +165,6 @@ static void notify_update_mailbox_status(struct mailbox *box) { '\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" },