Skip to content

Commit

Permalink
Fix showing remote mailboxes when logging in
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jun 9, 2014
1 parent d8987e9 commit 964d6d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imp/lib/Ajax/Application/Handler/Remote.php
Expand Up @@ -64,15 +64,15 @@ public function remoteLogin()

$ftree = $injector->getInstance('IMP_Ftree');

$ftree->eltdiff->track = false;
$ftree->delete($remote_ob);
$ftree->insert($remote_ob);
$ftree->eltdiff->track = true;

$ftree[$remote_ob]->open = true;
$this->_base->queue->setMailboxOpt('expand', 1);

$iterator = new IMP_Ftree_IteratorFilter($ftree);
$iterator = new IMP_Ftree_IteratorFilter(
new IMP_Ftree_Iterator($ftree[$remote_ob])
);
if ($this->vars->unsub) {
$ftree->loadUnsubscribed();
$iterator->remove($iterator::UNSUB);
Expand Down

0 comments on commit 964d6d7

Please sign in to comment.