Skip to content

Commit

Permalink
Fix listing messages on POP3 server
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Aug 15, 2014
1 parent bb9ef7c commit 623bf02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imp/lib/Mailbox/List.php
Expand Up @@ -375,7 +375,8 @@ protected function _buildMailbox()
$sortpref = $this->_mailbox->getSort(true);
$thread_sort = ($sortpref->sortby == Horde_Imap_Client::SORT_THREAD);

if ($this->_mailbox->hideDeletedMsgs()) {
if ($this->_mailbox->access_search &&
$this->_mailbox->hideDeletedMsgs()) {
$delete_query = new Horde_Imap_Client_Search_Query();
$delete_query->flag(Horde_Imap_Client::FLAG_DELETED, false);

Expand Down

0 comments on commit 623bf02

Please sign in to comment.