summary refs log tree commit diff
path: root/synapse/rest/client/shared_rooms.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client/shared_rooms.py')
-rw-r--r--synapse/rest/client/shared_rooms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/shared_rooms.py b/synapse/rest/client/shared_rooms.py
index 1d90493eb0..09a46737de 100644
--- a/synapse/rest/client/shared_rooms.py
+++ b/synapse/rest/client/shared_rooms.py
@@ -42,7 +42,7 @@ class UserSharedRoomsServlet(RestServlet):
         super().__init__()
         self.auth = hs.get_auth()
         self.store = hs.get_datastore()
-        self.user_directory_active = hs.config.update_user_directory
+        self.user_directory_active = hs.config.server.update_user_directory
 
     async def on_GET(
         self, request: SynapseRequest, user_id: str