matcha
matcha copied to clipboard
BUG: JMAP FetchFolders hardcodes delimiter
Describe the bug
In backend/jmap/jmap.go, the FetchFolders function hardcodes the delimiter as /. While common, JMAP doesn't strictly use delimiters in the same way IMAP does, but if a delimiter is needed, it should ideally come from the server or be configurable.
To reproduce
N/A (Logic observation)
Expected behavior
The delimiter should not be hardcoded if it can be determined from the account configuration or server session.
Additional context
folders = append(folders, backend.Folder{
Name: mbox.Name,
Delimiter: "/",
})
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.