Skip to content

Commit

Permalink
lib-storage: Remove MAILBOX_FEATURE_QRESYNC
Browse files Browse the repository at this point in the history
This is an imap-specific feature, which doesn't need to be visible in
the lib-storage layer.
  • Loading branch information
sirainen authored and villesavolainen committed Feb 6, 2019
1 parent a4cee4f commit 2afabef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/imap/imap-client.c
Expand Up @@ -1580,8 +1580,7 @@ void clients_init(void)
imap_feature_register("CONDSTORE", MAILBOX_FEATURE_CONDSTORE,
imap_client_enable_condstore);
imap_feature_qresync =
imap_feature_register("QRESYNC", MAILBOX_FEATURE_QRESYNC |
MAILBOX_FEATURE_CONDSTORE,
imap_feature_register("QRESYNC", MAILBOX_FEATURE_CONDSTORE,
imap_client_enable_qresync);
}

Expand Down
2 changes: 0 additions & 2 deletions src/lib-storage/mail-storage.h
Expand Up @@ -78,8 +78,6 @@ enum mailbox_flags {
enum mailbox_feature {
/* Enable tracking modsequences */
MAILBOX_FEATURE_CONDSTORE = 0x01,
/* Enable tracking expunge modsequences */
MAILBOX_FEATURE_QRESYNC = 0x02
};

enum mailbox_existence {
Expand Down

0 comments on commit 2afabef

Please sign in to comment.