summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/changes/feature_5302_do-not-create-user-db-when-syncing2
-rw-r--r--client/src/leap/soledad/client/__init__.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/client/changes/feature_5302_do-not-create-user-db-when-syncing b/client/changes/feature_5302_do-not-create-user-db-when-syncing
new file mode 100644
index 00000000..c3270ab1
--- /dev/null
+++ b/client/changes/feature_5302_do-not-create-user-db-when-syncing
@@ -0,0 +1,2 @@
+ o Do not autocreate remote user database when syncing. Tapicero should make
+ sure that that db is created when the user is created. Closes #5302.
diff --git a/client/src/leap/soledad/client/__init__.py b/client/src/leap/soledad/client/__init__.py
index a8d68c88..46e3cd5f 100644
--- a/client/src/leap/soledad/client/__init__.py
+++ b/client/src/leap/soledad/client/__init__.py
@@ -1091,7 +1091,7 @@ class Soledad(object):
with Soledad.syncing_lock[self._db._get_replica_uid()]:
local_gen = self._db.sync(
urlparse.urljoin(self.server_url, 'user-%s' % self._uuid),
- creds=self._creds, autocreate=True)
+ creds=self._creds, autocreate=False)
signal(SOLEDAD_DONE_DATA_SYNC, self._uuid)
return local_gen