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 2b385b6 commit bf0740f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imp/lib/Mailbox/List.php
Original file line number Diff line number Diff line change
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 bf0740f

Please sign in to comment.