Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
Fix bug where all Inbox messages were appearing in the Sent tab.
Browse files Browse the repository at this point in the history
  • Loading branch information
rswindell committed Jan 27, 2019
1 parent 99156f7 commit 5e6c079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/lib/forum.js
Expand Up @@ -289,7 +289,7 @@ function get_mail_headers(filter, ascending) {
if (filter == 'spam') ret.headers.push(h);
} else {
h.attr&MSG_READ ? ret.inbox.read++ : (ret.inbox.unread++);
if (filter != 'spam') ret.headers.push(h);
if (filter == 'inbox') ret.headers.push(h);
}
}
}
Expand Down

0 comments on commit 5e6c079

Please sign in to comment.