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/db/message.py | |
parent | 0c5d569f67404cf5006ccf2d7f8eac090be8388f (diff) |
rename Message.get_text_content() to get_body_text()
Diffstat (limited to 'alot/db/message.py')
-rw-r--r-- | alot/db/message.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/db/message.py b/alot/db/message.py index 720276dd..f756e349 100644 --- a/alot/db/message.py +++ b/alot/db/message.py @@ -271,7 +271,7 @@ class Message: """ # TODO: allow toggle commands to decide which part is considered body eml = self.get_email() - bodytext = self.get_text_content() + bodytext = self.get_body_text() # check if extracted body is empty dispite having a text/html body part if eml is not None: @@ -283,7 +283,7 @@ class Message: bodytext = MISSING_HTML_MSG return bodytext - def get_text_content(self): + def get_body_text(self): return extract_body(self.get_email()) def matches(self, querystring): |