diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2019-08-10 18:29:43 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2019-08-15 11:33:04 +0100 |
commit | 7eaaaf6e0f0acfe754aaad4d07cbd83980151665 (patch) | |
tree | 50aa90d5f7dc6d8da24389359c1a95550491f319 /alot/widgets | |
parent | d41927f23614321ae6f711ebd356808264ecd6c6 (diff) |
retire Message.accumulate_body
... in favour of get_body_text to de-clutter the Message class.
The functionality is implemented in alot.db.utils.extract_body, which
now contains the hard-coding of the html warning.
Diffstat (limited to 'alot/widgets')
-rw-r--r-- | alot/widgets/thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py index ce35b480..0085ad34 100644 --- a/alot/widgets/thread.py +++ b/alot/widgets/thread.py @@ -251,7 +251,7 @@ class MessageTree(CollapsibleTree): def _get_body(self): if self._bodytree is None: - bodytxt = self._message.accumulate_body() + bodytxt = self._message.get_body_text() if bodytxt: att = settings.get_theming_attribute('thread', 'body') att_focus = settings.get_theming_attribute( |