summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-08-06 14:46:17 +0100
committerErik Johnston <erik@matrix.org>2018-08-07 10:50:26 +0100
commit495cb100d127212d55a46c177706d732950e70be (patch)
tree1da492aa00c9177a1b6d8be5ba725a5c063f6f12 /synapse/storage
parentFix isort (diff)
downloadsynapse-495cb100d127212d55a46c177706d732950e70be.tar.xz
Allow profile changes to happen on workers
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/profile.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/synapse/storage/profile.py b/synapse/storage/profile.py
index 60295da254..246ab836bd 100644
--- a/synapse/storage/profile.py
+++ b/synapse/storage/profile.py
@@ -71,8 +71,6 @@ class ProfileWorkerStore(SQLBaseStore):
             desc="get_from_remote_profile_cache",
         )
 
-
-class ProfileStore(ProfileWorkerStore):
     def create_profile(self, user_localpart):
         return self._simple_insert(
             table="profiles",
@@ -182,3 +180,7 @@ class ProfileStore(ProfileWorkerStore):
 
         if res:
             defer.returnValue(True)
+
+
+class ProfileStore(ProfileWorkerStore):
+    pass