Skip to content

Commit

Permalink
Merge branch 'release/forth' into release/danube
Browse files Browse the repository at this point in the history
  • Loading branch information
cuthix committed Oct 22, 2020
2 parents d547f5e + ae1578a commit 2d8a676
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Changelog.md
Expand Up @@ -2,6 +2,11 @@

Changelog [format](http://keepachangelog.com/en/1.0.0/)

## Unreleased

### Fixed
* GODT-829 Remove `NoInferior` to display sub-folders in apple mail.

## [Bridge 1.4.4] Forth

### Fixed
Expand All @@ -15,7 +20,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
### Changed
* Reverted sending IMAP updates to be not blocking again.

### Fixed
### Fixed
* GODT-783 Settings flags by FLAGS (not using +/-FLAGS) do not change spam state.


Expand Down
5 changes: 4 additions & 1 deletion internal/imap/mailbox.go
Expand Up @@ -80,7 +80,10 @@ func (im *imapMailbox) Info() (*imap.MailboxInfo, error) {
}

func (im *imapMailbox) getFlags() []string {
flags := []string{imap.NoInferiorsAttr} // Subfolders are not yet supported by API.
flags := []string{}
if !im.storeMailbox.IsFolder() || im.storeMailbox.IsSystem() {
flags = append(flags, imap.NoInferiorsAttr) // Subfolders are not supported for System or Label
}
switch im.storeMailbox.LabelID() {
case pmapi.SentLabel:
flags = append(flags, specialuse.Sent)
Expand Down

0 comments on commit 2d8a676

Please sign in to comment.