From 5c449ac9f4b353cb75b1a27f0fc96da3940829b8 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 18 Sep 2017 23:04:55 +0300 Subject: [PATCH] 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. --- src/plugins/notify-status/notify-status-plugin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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" }, -- 2.47.3