Skip to main content
Sign in
Snippets Groups Projects
Unverified Commit 056d0e3c authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Fix dovecot sieve special folder


Dovecot/sieve seems to create a special 'dovecot.sieve' folder as soon
as a filter is configured. This folder, however, must not be queried
(e.g.) for a sync token. This patch makes sure that this special folder
is simply ignored. Thus it's also not shown in the UI.

Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent eb4b5588
Branches
Tags
No related merge requests found
......@@ -45,6 +45,11 @@ class FolderMapper {
$folders = [];
foreach ($mailboxes as $mailbox) {
if ($mailbox['mailbox']->utf8 === 'dovecot.sieve') {
// This is a special folder that must not be shown
continue;
}
$folder = new Folder($account, $mailbox['mailbox'], $mailbox['attributes'], $mailbox['delimiter']);
if ($folder->isSearchable()) {
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment