Skip to content

fix: gate status request#1427

Merged
andrinoff merged 2 commits into
floatpane:masterfrom
andrinoff:fix/empty-folders
Jun 4, 2026
Merged

fix: gate status request#1427
andrinoff merged 2 commits into
floatpane:masterfrom
andrinoff:fix/empty-folders

Conversation

@andrinoff
Copy link
Copy Markdown
Member

What?

Gate the LIST ... RETURN (STATUS (UNSEEN)) request in FetchFolders on the server advertising the LIST-STATUS capability (RFC 5819). When the server doesn't support it, send a plain LIST "" "*" and populate unread counts with a per-mailbox STATUS (UNSEEN) fallback instead.

Why?

Fixes #1426

Signed-off-by: drew <me@andrinoff.com>
@andrinoff andrinoff requested a review from a team as a code owner June 3, 2026 13:42
@floatpanebot floatpanebot added area/fetcher IMAP fetch / IDLE / search bug Something isn't working size/S Diff: 11–50 lines backport/v1 Merge to master and backport to release/v1 labels Jun 3, 2026
@subtervisor
Copy link
Copy Markdown

Can confirm, was seeing this with my email provider as well. The PR binaries successfully fix the issue for me.

@andrinoff
Copy link
Copy Markdown
Member Author

/approve

@andrinoff andrinoff enabled auto-merge June 4, 2026 03:39
Copy link
Copy Markdown
Member

@floatpanebot floatpanebot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved on behalf of @andrinoff via /approve command.

@andrinoff andrinoff added this pull request to the merge queue Jun 4, 2026
@andrinoff andrinoff removed this pull request from the merge queue due to a manual request Jun 4, 2026
@andrinoff andrinoff added this pull request to the merge queue Jun 4, 2026
@andrinoff andrinoff removed this pull request from the merge queue due to a manual request Jun 4, 2026
@andrinoff andrinoff merged commit d14a4cb into floatpane:master Jun 4, 2026
29 checks passed
@floatpanebot floatpanebot added the backported Cherry-picked onto release/v1 label Jun 4, 2026
floatpanebot pushed a commit that referenced this pull request Jun 4, 2026
## What?

Gate the `LIST ... RETURN (STATUS (UNSEEN))` request in `FetchFolders`
on the server advertising the LIST-STATUS capability (RFC 5819). When
the server doesn't support it, send a plain `LIST "" "*"` and populate
unread counts with a per-mailbox `STATUS (UNSEEN)` fallback instead.

## Why?

Fixes #1426

Signed-off-by: drew <me@andrinoff.com>
(cherry picked from commit d14a4cb)
@floatpanebot
Copy link
Copy Markdown
Member

Cherry-picked d14a4cb onto release/v1.

@floatpane floatpane deleted a comment from andrinoff Jun 4, 2026
@floatpane floatpane deleted a comment from andrinoff Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/fetcher IMAP fetch / IDLE / search backport/v1 Merge to master and backport to release/v1 backported Cherry-picked onto release/v1 bug Something isn't working size/S Diff: 11–50 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Folder list fails on Proton Bridge and Exchange Online (LIST-STATUS requested without checking the capability)

3 participants