summaryrefslogtreecommitdiff
path: root/src/leap/mx
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/mx')
-rw-r--r--src/leap/mx/mail_receiver.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/mx/mail_receiver.py b/src/leap/mx/mail_receiver.py
index 001d476..9636591 100644
--- a/src/leap/mx/mail_receiver.py
+++ b/src/leap/mx/mail_receiver.py
@@ -53,8 +53,7 @@ class EventHandler(pyinotify.ProcessEvent):
uuid = _get_uuid(owner, self._user, self._password, self._server)
# get the pubkey for uuid
pubkey = _get_pubkey(uuid, self._user, self._password, self._server)
- # if the message isn't encrypted already:
- # encrypt the message to the pubkey
+ # encrypt the message to the pubkey
encrypted = _encrypt_message(pubkey, mail_data)
# save the message in a couchdb
if _export_message(uuid, encrypted, self._user, self._password, self._server):