summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-02-06 13:47:40 +0100
committerAnton Khirnov <anton@khirnov.net>2020-02-06 13:52:27 +0100
commit7a89adb3118b2be637c60c1bf91bbca691329801 (patch)
tree28dc88b7fa8d432ef0ba08d8a0475830af92a1ca /alot
parent0a5a9bd056cc6946ed6c75a43dd7a77c404de3d1 (diff)
db/message: drop unused functions
Diffstat (limited to 'alot')
-rw-r--r--alot/db/message.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/alot/db/message.py b/alot/db/message.py
index 0c06f171..8c3392e9 100644
--- a/alot/db/message.py
+++ b/alot/db/message.py
@@ -129,15 +129,6 @@ class Message:
self._thread = self._dbman.get_thread(self._thread_id)
return self._thread
- def has_replies(self):
- """returns true if this message has at least one reply"""
- return len(self.get_replies()) > 0
-
- def get_replies(self):
- """returns replies to this message as list of :class:`Message`"""
- t = self.get_thread()
- return t.get_replies_to(self)
-
def get_datestring(self):
"""
returns reformated datestring for this message.