Skip to content

Commit

Permalink
Hotfix to correctly hide unsubscribed mailboxes when reloading page
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jun 11, 2014
1 parent 511c7b6 commit f0d80eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions imp/lib/Ajax/Application/Handler/Dynamic.php
Expand Up @@ -291,6 +291,11 @@ public function listMailboxes()
if ($this->vars->initial) {
$session->close();
$ftree->eltdiff->clear();

/* @todo: Correctly handle unsubscribed mailboxes in ftree. */
if ($ftree->unsubscribed_loaded && !$this->vars->reload) {
$ftree->init();
}
}

if ($this->vars->reload) {
Expand Down

0 comments on commit f0d80eb

Please sign in to comment.