mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 00:44:49 -04:00
Now that HS->HS Profile lookups use Federation Queries, we don't need the 'local_only' antirecursion hack
This commit is contained in:
parent
505917cb97
commit
80c056c148
2 changed files with 4 additions and 10 deletions
|
@ -30,7 +30,6 @@ class ProfileDisplaynameRestServlet(RestServlet):
|
|||
|
||||
displayname = yield self.handlers.profile_handler.get_displayname(
|
||||
user,
|
||||
local_only="local_only" in request.args
|
||||
)
|
||||
|
||||
defer.returnValue((200, {"displayname": displayname}))
|
||||
|
@ -64,7 +63,6 @@ class ProfileAvatarURLRestServlet(RestServlet):
|
|||
|
||||
avatar_url = yield self.handlers.profile_handler.get_avatar_url(
|
||||
user,
|
||||
local_only="local_only" in request.args
|
||||
)
|
||||
|
||||
defer.returnValue((200, {"avatar_url": avatar_url}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue