summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-08-30 19:42:29 +0200
committerKali Kaneko <kali@leap.se>2013-08-30 19:42:29 +0200
commit65ac6c78ad4be4cb8c7cb9b20f69b35bfcdb83c7 (patch)
tree3559d48c9f97fd94301b56fd6e512b8bb78ef2c6
parent44fc31656f028942caeca5a9ce55b86ef14b3289 (diff)
parent26f5a1c8b1c85e85ea390cd10421d17ef2cc9118 (diff)
Merge remote-tracking branch 'chiiph/bug/save_doc' into develop
-rw-r--r--changes/bug_save_doc1
-rw-r--r--src/leap/mx/mail_receiver.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changes/bug_save_doc b/changes/bug_save_doc
new file mode 100644
index 0000000..287228a
--- /dev/null
+++ b/changes/bug_save_doc
@@ -0,0 +1 @@
+ o Properly save the incoming mail as a doc in couch. \ No newline at end of file
diff --git a/src/leap/mx/mail_receiver.py b/src/leap/mx/mail_receiver.py
index 77e7cf4..cabb5cb 100644
--- a/src/leap/mx/mail_receiver.py
+++ b/src/leap/mx/mail_receiver.py
@@ -168,6 +168,7 @@ class MailReceiver(Service):
uuid = 0
db = CouchDatabase(self._mail_couch_url, "user-%s" % (uuid,))
+ db.put_doc(doc)
log.msg("Done exporting")