Skip to content

Commit 39d9d47

Browse files
committed
fix(backend): unread/unseen flag filter
1 parent 8e19861 commit 39d9d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/imap/handler_modules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ public function process() {
12701270
break;
12711271
case 'flagged':
12721272
case 'unread':
1273-
$filter = mb_strtoupper($this->get('list_path'));
1273+
$filter = $this->get('list_path') == 'unread' ? 'UNSEEN' : mb_strtoupper($this->get('list_path'));
12741274
default:
12751275
if (empty($filter)) {
12761276
$filter = 'ALL';

0 commit comments

Comments
 (0)