From c4d468f890fb1985de7cdfc029fc4f917bc3fde3 Mon Sep 17 00:00:00 2001 From: pazz Date: Fri, 24 Jun 2011 13:45:50 +0100 Subject: names only in msg summary --- alot/db.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'alot/db.py') diff --git a/alot/db.py b/alot/db.py index 1936b136..302afb4e 100644 --- a/alot/db.py +++ b/alot/db.py @@ -21,6 +21,7 @@ from datetime import datetime import email from settings import config +import helper class DBManager: @@ -192,6 +193,9 @@ class Message: #this doesn't work. see Note in doc -> more work here. return [self.dbman.find_message(mid) for mid in self.replies] + def get_author(self): + return helper.parse_addr(self.sender) + def get_tags(self): return list(self.tags) -- cgit v1.2.3