aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/reply.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/reply.go')
-rw-r--r--commands/msg/reply.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/commands/msg/reply.go b/commands/msg/reply.go
index 4b3e7c81..333b3e3a 100644
--- a/commands/msg/reply.go
+++ b/commands/msg/reply.go
@@ -222,14 +222,7 @@ func (r reply) Execute(args []string) error {
return nil
}
- var part []int
- for _, mime := range config.Viewer.Alternatives {
- part = lib.FindMIMEPart(mime, msg.BodyStructure, nil)
- if part != nil {
- break
- }
- }
-
+ part := getMessagePart(msg, widget)
if part == nil {
// mkey... let's get the first thing that isn't a container
// if that's still nil it's either not a multipart msg (ok) or