Skip to content

Commit

Permalink
Mark the created message as seen.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsoares committed Sep 26, 2016
1 parent d973bb9 commit 92ff4e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions removeattachments.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ public function remove_attachments()
$imap->set_flag($uid, strtoupper($flag), $_SESSION['mbox']);
}

// by default, mark message as seen.
$imap->set_flag($uid, 'SEEN', $_SESSION['mbox']);

$this->api->output->command('display_message', $this->gettext('attachmentremoved'), 'confirmation');
$this->api->output->command('removeattachments_reload', $uid);
} else {
Expand Down

0 comments on commit 92ff4e9

Please sign in to comment.