summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
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}))