Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove hard coded bodystruct path everywhere | Reto Brunner | 2020-07-27 | 1 | -32/+0 |
| | | | | | | | Aerc usually used the path []int{1} if it didn't know what the proper path is. However this only works for multipart messages and breaks if it isn't one. This patch removes all the hard coding and extracts the necessary helpers to lib. | ||||
* | Move findPlaintext / findFirstNonMultipart to utils | Reto Brunner | 2020-05-17 | 1 | -0/+32 |
| | | | | They are used by more than one command and as such need to be in a common file. | ||||
* | Change MarkedMessages to return uids | Reto Brunner | 2020-05-11 | 1 | -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 method | Reto Brunner | 2020-05-11 | 1 | -9/+1 |
| | |||||
* | add command helpers | Reto Brunner | 2019-12-21 | 1 | -0/+55 |