Allow profile changes to happen on workers

This commit is contained in:
Erik Johnston 2018-08-06 14:46:17 +01:00
parent 051a99c400
commit 495cb100d1
5 changed files with 106 additions and 8 deletions

View file

@ -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