# HG changeset patch # User Timo Sirainen # Date 1505765095 -10800 # Node ID 5db98cc03836601498823fc1baf2239ccb0645fb # Parent 2a6a6cfe8af6991431bb20f71d2ca3052d6a7b39 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 -r 2a6a6cfe8af6 -r 5db98cc03836 src/plugins/notify-status/notify-status-plugin.c --- 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" },