summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-04-01 11:35:59 +0200
committerAnton Khirnov <anton@khirnov.net>2021-04-01 11:35:59 +0200
commit33de5777ee71264327cac081f2fbb3e10a85c774 (patch)
tree08b8aa248403e38579d1e9e3989dc320062959a2
parent0d6d08667184ec8bafb352d822b75462efb162bf (diff)
buffers/thread: sanitize thread subject in info
-rw-r--r--alot/buffers/thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/buffers/thread.py b/alot/buffers/thread.py
index d342db86..1bfa6326 100644
--- a/alot/buffers/thread.py
+++ b/alot/buffers/thread.py
@@ -99,7 +99,7 @@ class ThreadBuffer(Buffer):
async def get_info(self):
info = {}
- info['subject'] = self.thread.subject
+ info['subject'] = self.thread.subject.translate(settings.sanitize_header_table)
info['authors'] = self.thread.get_authors_string()
info['tid'] = self.thread.id
info['message_count'] = self.thread.total_messages