mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 06:54:37 +03:00
check whether mailboxes have message/etc counts through an "upgrade" boolean flag
Instead of using the per-mailbox flag, and going through all mailboxes when opening an account.
This commit is contained in:
@ -1695,7 +1695,7 @@
|
||||
},
|
||||
{
|
||||
"Name": "HaveCounts",
|
||||
"Docs": "Whether MailboxCounts have been initialized.",
|
||||
"Docs": "Deprecated. Covered by Upgrade.MailboxCounts. No longer read.",
|
||||
"Typewords": [
|
||||
"bool"
|
||||
]
|
||||
|
@ -201,7 +201,7 @@ export interface Mailbox {
|
||||
Sent: boolean
|
||||
Trash: boolean
|
||||
Keywords?: string[] | null // Keywords as used in messages. Storing a non-system keyword for a message automatically adds it to this list. Used in the IMAP FLAGS response. Only "atoms" are allowed (IMAP syntax), keywords are case-insensitive, only stored in lower case (for JMAP), sorted.
|
||||
HaveCounts: boolean // Whether MailboxCounts have been initialized.
|
||||
HaveCounts: boolean // Deprecated. Covered by Upgrade.MailboxCounts. No longer read.
|
||||
Total: number // Total number of messages, excluding \Deleted. For JMAP.
|
||||
Deleted: number // Number of messages with \Deleted flag. Used for IMAP message count that includes messages with \Deleted.
|
||||
Unread: number // Messages without \Seen, excluding those with \Deleted, for JMAP.
|
||||
|
Reference in New Issue
Block a user