summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-08-14 14:01:36 -0300
committerBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-08-14 14:01:36 -0300
commitb5e0973245c2af1c5c9d67f5f15eeb00a93cfc93 (patch)
tree4c8959424fdbef591c4eaea0eb099bf012ebe648 /service
parent5b2538cd3cd5cb012021b7043a2ef427b7ace89a (diff)
Mail service mail now returns a pixelated mail instance
Diffstat (limited to 'service')
-rw-r--r--service/app/adapter/mail_service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/app/adapter/mail_service.py b/service/app/adapter/mail_service.py
index fb5b52c3..94612d82 100644
--- a/service/app/adapter/mail_service.py
+++ b/service/app/adapter/mail_service.py
@@ -97,7 +97,7 @@ class MailService:
def mail(self, mail_id):
for message in self.mailbox.messages:
if message.getUID() == int(mail_id):
- return message
+ return PixelatedMail(message)
def thread(self, thread_id):
raise NotImplementedError()