Now that HS->HS Profile lookups use Federation Queries, we don't need the 'local_only' antirecursion hack

This commit is contained in:
Paul "LeoNerd" Evans 2014-08-13 17:14:42 +01:00
parent 505917cb97
commit 80c056c148
2 changed files with 4 additions and 10 deletions

View file

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