summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaute Hope <eg@gaute.vetsj.com>2020-03-25 11:55:15 +0100
committerGaute Hope <eg@gaute.vetsj.com>2020-05-11 09:48:23 +0200
commite3b16971dda7071bab4cf06bccb69286b38c83b3 (patch)
treeb96770b41f7bc358c439224fa7bd4ce4e1a5e140
parent94fa3c49c6439997fb6af515adcc6bfd2e7597e1 (diff)
quoting: do not include converted html part if plain exists
-rw-r--r--src/message_thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message_thread.cc b/src/message_thread.cc
index fee5295..e84e9e5 100644
--- a/src/message_thread.cc
+++ b/src/message_thread.cc
@@ -383,7 +383,7 @@ namespace Astroid {
bool use = false;
if (c->siblings.size() >= 1) {
- if (c->is_content_type ("text", "plain") || c->is_content_type ("text", "html")) {
+ if (c->is_content_type ("text", "plain")) {
use = true;
} else {
/* check if there are any other preferred */