From 26f5a1c8b1c85e85ea390cd10421d17ef2cc9118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Thu, 29 Aug 2013 17:45:36 -0300 Subject: Actually save the doc in couch --- changes/bug_save_doc | 1 + src/leap/mx/mail_receiver.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 changes/bug_save_doc 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") -- cgit v1.2.3