summaryrefslogtreecommitdiff
path: root/alot/widgets
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2019-08-10 18:18:39 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2019-08-15 11:33:04 +0100
commitd41927f23614321ae6f711ebd356808264ecd6c6 (patch)
tree840d7ceb0ca800ebd1aabc6ababcf9f49ea75211 /alot/widgets
parent0c5d569f67404cf5006ccf2d7f8eac090be8388f (diff)
rename Message.get_text_content() to get_body_text()
Diffstat (limited to 'alot/widgets')
-rw-r--r--alot/widgets/search.py2
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