mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Remote profile cache should remain in master worker
This commit is contained in:
parent
a6c813761a
commit
38f708a2bb
@ -94,6 +94,8 @@ class ProfileWorkerStore(SQLBaseStore):
|
|||||||
desc="set_profile_avatar_url",
|
desc="set_profile_avatar_url",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
class ProfileStore(ProfileWorkerStore):
|
||||||
def add_remote_profile_cache(self, user_id, displayname, avatar_url):
|
def add_remote_profile_cache(self, user_id, displayname, avatar_url):
|
||||||
"""Ensure we are caching the remote user's profiles.
|
"""Ensure we are caching the remote user's profiles.
|
||||||
|
|
||||||
@ -180,7 +182,3 @@ class ProfileWorkerStore(SQLBaseStore):
|
|||||||
|
|
||||||
if res:
|
if res:
|
||||||
defer.returnValue(True)
|
defer.returnValue(True)
|
||||||
|
|
||||||
|
|
||||||
class ProfileStore(ProfileWorkerStore):
|
|
||||||
pass
|
|
||||||
|
Loading…
Reference in New Issue
Block a user