summaryrefslogtreecommitdiff
path: root/alot/buffers/thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/buffers/thread.py')
-rw-r--r--alot/buffers/thread.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/buffers/thread.py b/alot/buffers/thread.py
index 41766852..6434bb04 100644
--- a/alot/buffers/thread.py
+++ b/alot/buffers/thread.py
@@ -34,7 +34,7 @@ class ThreadBuffer(Buffer):
Buffer.__init__(self, ui, self.body)
def __str__(self):
- return '[thread] %s (%d message%s)' % (self.thread.get_subject(),
+ return '[thread] %s (%d message%s)' % (self.thread.subject,
self.message_count,
's' * (self.message_count > 1))
@@ -46,9 +46,9 @@ class ThreadBuffer(Buffer):
def get_info(self):
info = {}
- info['subject'] = self.thread.get_subject()
+ info['subject'] = self.thread.subject
info['authors'] = self.thread.get_authors_string()
- info['tid'] = self.thread.get_thread_id()
+ info['tid'] = self.thread.id
info['message_count'] = self.message_count
info['thread_tags'] = self.translated_tags_str()
info['intersection_tags'] = self.translated_tags_str(intersection=True)