summaryrefslogtreecommitdiff
path: root/src/leap/soledad/server/_blobs.py
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-07-05 02:17:38 -0300
committerdrebs <drebs@leap.se>2017-07-18 15:30:29 -0300
commit463073b3147f9ba4e784e92cc8bec1d74ab0b7f4 (patch)
tree63eef25b803e9627bab4b0bef1571606b18e6f3e /src/leap/soledad/server/_blobs.py
parent1b71b5c3f5df1c88f61ac2c57abe791f47027143 (diff)
[feature] add blobs as a incoming api backend
We started with CouchDB due legacy system relying on it. This commit adds the possibility of adding blobs as a IncomingAPI backend if blobs is enabled on config file. -- Resolves: #8868
Diffstat (limited to 'src/leap/soledad/server/_blobs.py')
-rw-r--r--src/leap/soledad/server/_blobs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/soledad/server/_blobs.py b/src/leap/soledad/server/_blobs.py
index 87b171fb..f6a8cbc6 100644
--- a/src/leap/soledad/server/_blobs.py
+++ b/src/leap/soledad/server/_blobs.py
@@ -256,4 +256,5 @@ class BlobsServerState(object):
That method is just for compatibility with CouchServerState, so
IncomingAPI can change backends.
"""
+ # TODO: deprecate/refactor it as it's here for compatibility.
return self.backend