summaryrefslogtreecommitdiff
path: root/alot/buffer.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/buffer.py')
-rw-r--r--alot/buffer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/alot/buffer.py b/alot/buffer.py
index 500873cf..d05b7c19 100644
--- a/alot/buffer.py
+++ b/alot/buffer.py
@@ -148,6 +148,9 @@ class SingleThreadBuffer(Buffer):
def __str__(self):
return '%s, (%d)' % (self.thread.get_subject(), self.message_count)
+ def get_selected_thread(self):
+ return self.thread
+
def _build_pile(self, acc, msg, parent, depth):
acc.append((parent, depth, msg))
for reply in self.thread.get_replies_to(msg):