summaryrefslogtreecommitdiff
path: root/alot/commands/thread.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-02-05 14:24:40 +0100
committerAnton Khirnov <anton@khirnov.net>2020-02-05 14:26:33 +0100
commitf6a67c33c360b10cd1c7d876c741846028e35f47 (patch)
treea6309aff59a938c975286c433ae8b3a619997e72 /alot/commands/thread.py
parentf0f911b0063f737f81096078bcf0ba98f97b9c52 (diff)
buffers/thread: drop a useless getter function
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r--alot/commands/thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index 6f83083a..28edaa84 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -673,7 +673,7 @@ class PipeCommand(Command):
# get messages to pipe
if self.whole_thread:
- thread = ui.current_buffer.get_selected_thread()
+ thread = ui.current_buffer.thread
if not thread:
return
to_print = thread.get_messages().keys()