Remote profile cache should remain in master worker

pull/3659/head
Erik Johnston 2018-08-17 11:37:42 +01:00
parent a6c813761a
commit 38f708a2bb
1 changed files with 2 additions and 4 deletions

View File

@ -94,6 +94,8 @@ class ProfileWorkerStore(SQLBaseStore):
desc="set_profile_avatar_url",
)
class ProfileStore(ProfileWorkerStore):
def add_remote_profile_cache(self, user_id, displayname, avatar_url):
"""Ensure we are caching the remote user's profiles.
@ -180,7 +182,3 @@ class ProfileWorkerStore(SQLBaseStore):
if res:
defer.returnValue(True)
class ProfileStore(ProfileWorkerStore):
pass