mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-18 16:17:03 +00:00
Merge branch 'release/forth' into release/danube
This commit is contained in:
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
Changelog [format](http://keepachangelog.com/en/1.0.0/)
|
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
|
## [Bridge 1.4.4] Forth
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
@ -15,7 +20,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
|
|||||||
### Changed
|
### Changed
|
||||||
* Reverted sending IMAP updates to be not blocking again.
|
* 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.
|
* GODT-783 Settings flags by FLAGS (not using +/-FLAGS) do not change spam state.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -80,7 +80,10 @@ func (im *imapMailbox) Info() (*imap.MailboxInfo, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (im *imapMailbox) getFlags() []string {
|
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() {
|
switch im.storeMailbox.LabelID() {
|
||||||
case pmapi.SentLabel:
|
case pmapi.SentLabel:
|
||||||
flags = append(flags, specialuse.Sent)
|
flags = append(flags, specialuse.Sent)
|
||||||
|
|||||||
Reference in New Issue
Block a user