summaryrefslogtreecommitdiff
path: root/lib/structure_helpers.go
AgeCommit message (Collapse)Author
2021-11-05go.mod: change base git urlRobin Jarry
I'm not sure what are the implications but it seems required. Link: https://github.com/golang/go/issues/20883 Signed-off-by: Robin Jarry <robin@jarry.cc>
2021-03-07FindFirstNonMultipart: return the proper pathReto Brunner
There was a bug that lead to the wrong path being returned by the function.
2020-07-27Remove hard coded bodystruct path everywhereReto Brunner
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.