diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2019-08-10 18:18:39 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2019-08-15 11:33:04 +0100 |
commit | d41927f23614321ae6f711ebd356808264ecd6c6 (patch) | |
tree | 840d7ceb0ca800ebd1aabc6ababcf9f49ea75211 /alot/widgets | |
parent | 0c5d569f67404cf5006ccf2d7f8eac090be8388f (diff) |
rename Message.get_text_content() to get_body_text()
Diffstat (limited to 'alot/widgets')
-rw-r--r-- | alot/widgets/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets/search.py b/alot/widgets/search.py index 62fe29d8..116dddc3 100644 --- a/alot/widgets/search.py +++ b/alot/widgets/search.py @@ -185,7 +185,7 @@ def prepare_subject_string(thread): def prepare_content_string(thread): msgs = sorted(thread.get_messages().keys(), key=lambda msg: msg.get_date(), reverse=True) - lastcontent = ' '.join(m.get_text_content() for m in msgs) + lastcontent = ' '.join(m.get_body_text() for m in msgs) lastcontent = lastcontent.replace('^>.*$', '') return lastcontent |