summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-08-13 17:14:42 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-08-13 17:23:49 +0100
commit80c056c14866d282e9f2d789e20ce52dfebbf863 (patch)
tree77566f22679b8d4f773217a3ca510267fecdc3c5 /synapse/rest
parentUse new Federation Query API to implement HS->HS fetching of remote users' pr... (diff)
downloadsynapse-80c056c14866d282e9f2d789e20ce52dfebbf863.tar.xz
Now that HS->HS Profile lookups use Federation Queries, we don't need the 'local_only' antirecursion hack
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/profile.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/rest/profile.py b/synapse/rest/profile.py
index 3d0427bf72..2f010c0182 100644
--- a/synapse/rest/profile.py
+++ b/synapse/rest/profile.py
@@ -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}))