diff options
author | pazz <patricktotzke@gmail.com> | 2011-08-06 17:02:15 +0100 |
---|---|---|
committer | pazz <patricktotzke@gmail.com> | 2011-08-06 17:02:15 +0100 |
commit | 1e808c2ca32166a6ae58cd412d8ae32cc7c7c876 (patch) | |
tree | 8550eff88c1bdacf052d3a71082ef9a72084bf98 | |
parent | 51b89da077240b44bfa71fad53052b9231b3ce6f (diff) |
fix: remove unread upon unfold
-rw-r--r-- | alot/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/command.py b/alot/command.py index ac626345..40558642 100644 --- a/alot/command.py +++ b/alot/command.py @@ -607,7 +607,7 @@ class FoldMessagesCommand(Command): # in case the thread is yet unread, remove this tag msg = widget.get_message() if self.visible or (self.visible == None and widget.folded): - if 'unread' in msg.get_tags() and self.visible: + if 'unread' in msg.get_tags(): msg.remove_tags(['unread']) ui.apply_command(FlushCommand()) widget.rebuild() |