aboutsummaryrefslogtreecommitdiffstats
path: root/lib/messageview.go
Commit message (Collapse)AuthorAgeFilesLines
* Add additional flagging functionalityARaspiK2020-07-081-1/+1
| | | | | | | | | | | | | | More mail flags can now be set, unset, and toggled, not just the read/seen flag. This functionality is implemented with a new `:flag` and `:unflag` command, which are extensions to the matching `:read` and `:unread` commands, adding support for different flags. In fact, the `read`/`unread` commands are now recognized aliases to `flag`/`unflag`. The new commands are also well documented in aerc(1). The change mostly extends the previous read/unread setting functionality by adding a selection for the flag to change.
* pgp: fail gracefully from email decryptionRay Ganardi2020-05-251-7/+11
| | | | | Aerc panics when there's an error on email decryption. Instead, an error message should be shown.
* FetchBodyPart doesn't need the parent body structureReto Brunner2020-05-171-5/+3
|
* lib/messageview: mark messages as readReto Brunner2020-05-061-0/+1
| | | | | | | | | Currently at least the notmuch and maildir worker only set messages as read if a body part is fetched. The gpg abstraction however fetches the full message. We can simply set the readstate when we create the messageview, avoiding the issue. Once this is merged, we can cleanup both workers.
* store.FetchFull: Change callback type to expose entire messageBen Fiedler2020-05-011-1/+3
| | | | | This is a prerequisite for allowing the FetchFull message to return both the message content and the message headers.
* Initial support for PGP decryption & signaturesDrew DeVault2020-03-031-0/+128