summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-11-03 14:46:49 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-11-03 14:46:49 +0000
commit975459d06e6568455103e409de804a74dbfb3f64 (patch)
treea24b56b2eaa814de5026ad0551939be2b277fa51
parentfix up config thinkos (diff)
downloadsynapse-975459d06e6568455103e409de804a74dbfb3f64.tar.xz
fix copypaste error
-rw-r--r--synapse/rest/client/v1/profile.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/rest/client/v1/profile.py b/synapse/rest/client/v1/profile.py
index a95c903688..169938882e 100644
--- a/synapse/rest/client/v1/profile.py
+++ b/synapse/rest/client/v1/profile.py
@@ -103,9 +103,6 @@ class ProfileAvatarURLRestServlet(ClientV1RestServlet):
         if avatar_url is not None:
             ret["avatar_url"] = avatar_url
 
-        if self.hs.config.shadow_server:
-            self.shadow_displayname(user_id, content)
-
         defer.returnValue((200, ret))
 
     @defer.inlineCallbacks