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-03-25 11:55:15 +0100
commit635d90425f1d84038f7f461bfddc6b186bc39cc4 (patch)
tree1af246ad5cc88802eb3a14ab75ba257d9f958752
parent964c1c702e4d691ef82429a6ef81f04868b3840d (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 */