diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-02-06 17:08:00 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-02-06 17:11:05 +0100 |
commit | 48dac1d9089ce2a36c55dc4768b24293d1257a37 (patch) | |
tree | cf4e0c5751da8e7689269ea88b180b4dee3c3002 /alot/commands/thread.py | |
parent | 72ed7d40ac68d7e91f41e94fbcf6cb7a3e28433a (diff) |
db: rewrite the API for representing message trees
It should be cleaner and easier to use, and eventually replace the
custom tree walker in the thread display buffer.
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r-- | alot/commands/thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index 9c79840f..f720e297 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -676,7 +676,7 @@ class PipeCommand(Command): thread = ui.current_buffer.thread if not thread: return - to_print = thread.get_messages().keys() + to_print = thread.messages.values() else: to_print = [ui.current_buffer.get_selected_message()] |