From 6fbb9565672509bc9f93ed7ecb3232a6c1653af4 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Tue, 2 Jan 2018 12:20:14 +0000 Subject: mention unredered HTML parts in message body text --- alot/widgets/thread.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'alot/widgets') diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py index 5b2a55f3..396cdf92 100644 --- a/alot/widgets/thread.py +++ b/alot/widgets/thread.py @@ -14,7 +14,6 @@ from .globals import TagWidget from .globals import AttachmentWidget from ..settings.const import settings from ..db.utils import decode_header, X_SIGNATURE_MESSAGE_HEADER -from ..db.utils import extract_body class MessageSummaryWidget(urwid.WidgetWrap): @@ -238,7 +237,7 @@ class MessageTree(CollapsibleTree): def _get_body(self): if self._bodytree is None: - bodytxt = extract_body(self._message.get_email()) + bodytxt = self._message.accumulate_body() if bodytxt: att = settings.get_theming_attribute('thread', 'body') att_focus = settings.get_theming_attribute( -- cgit v1.2.3