summary refs log tree commit diff
path: root/synapse/storage/user_directory.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-03-12 22:27:56 +1100
committerAmber Brown <hawkowl@atleastfornow.net>2019-03-12 22:27:56 +1100
commit6f5890b2fae4fad92b9448dfaf3ca6c37afc5720 (patch)
treec12693e9dd0044ec80c81e42bb6ea48124afcfb2 /synapse/storage/user_directory.py
parentfixup (diff)
downloadsynapse-6f5890b2fae4fad92b9448dfaf3ca6c37afc5720.tar.xz
fixup
Diffstat (limited to 'synapse/storage/user_directory.py')
-rw-r--r--synapse/storage/user_directory.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/user_directory.py b/synapse/storage/user_directory.py
index af4260bc61..b848d9db00 100644
--- a/synapse/storage/user_directory.py
+++ b/synapse/storage/user_directory.py
@@ -21,6 +21,7 @@ from six import iteritems
 from twisted.internet import defer
 
 from synapse.api.constants import EventTypes, JoinRules
+from synapse.storage._base import SQLBaseStore
 from synapse.storage.engines import PostgresEngine, Sqlite3Engine
 from synapse.storage.state import StateFilter
 from synapse.types import get_domain_from_id, get_localpart_from_id
@@ -29,7 +30,7 @@ from synapse.util.caches.descriptors import cached
 logger = logging.getLogger(__name__)
 
 
-class UserDirectoryStore(object):
+class UserDirectoryStore(SQLBaseStore):
     @defer.inlineCallbacks
     def is_room_world_readable_or_publicly_joinable(self, room_id):
         """Check if the room is either world_readable or publically joinable