about summary refs log tree commit diff stats
path: root/lib/structure_helpers.go
Commit message (Collapse)AuthorAgeFilesLines
* FindFirstNonMultipart: return the proper pathReto Brunner2021-03-071-1/+1
| | | | There was a bug that lead to the wrong path being returned by the function.
* Remove hard coded bodystruct path everywhereReto Brunner2020-07-271-0/+38
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.