aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/utils.go
Commit message (Collapse)AuthorAgeFilesLines
* Move findPlaintext / findFirstNonMultipart to utilsReto Brunner2020-05-171-0/+32
| | | | They are used by more than one command and as such need to be in a common file.
* Change MarkedMessages to return uidsReto Brunner2020-05-111-7/+10
| | | | | | | | | Especially if one tries to interact with all marked messages there could be the case that not all headers are fetched yet, hence the messageInfo is still nil. This segfaults a lot of commands which in principle only need the uid to complete. If we switch to uids, this issue can be alleviated for those commands.
* commands/helper: remove duplicated methodReto Brunner2020-05-111-9/+1
|
* add command helpersReto Brunner2019-12-211-0/+55