From 81d9d1bee6bd67ebf7440d6b885210fe67dbe3d1 Mon Sep 17 00:00:00 2001
From: Amber Brown <hawkowl@atleastfornow.net>
Date: Tue, 12 Mar 2019 22:28:48 +1100
Subject: [PATCH] fixup

---
 synapse/storage/user_directory.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/synapse/storage/user_directory.py b/synapse/storage/user_directory.py
index b848d9db00..0e6619222c 100644
--- a/synapse/storage/user_directory.py
+++ b/synapse/storage/user_directory.py
@@ -266,7 +266,7 @@ class UserDirectoryStore(SQLBaseStore):
         in the given room_id
         """
         user_ids_share_pub = yield self._simple_select_onecol(
-            table="publicly_visible_users",
+            table="users_in_public_rooms",
             keyvalues={"room_id": room_id},
             retcol="user_id",
             desc="get_users_in_dir_due_to_room",
-- 
GitLab