summary refs log tree commit diff
path: root/synapse/storage/roommember.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-10-03 17:28:31 +0100
committerErik Johnston <erik@matrix.org>2019-10-03 17:28:31 +0100
commit91f61fc6d74e923822eb92933e0d028848285a40 (patch)
treee8c45ecfc1aeefd3b96119fcb202e6e7bc9a705f /synapse/storage/roommember.py
parentpep8 (diff)
downloadsynapse-91f61fc6d74e923822eb92933e0d028848285a40.tar.xz
Use the right error....
Diffstat (limited to 'synapse/storage/roommember.py')
-rw-r--r--synapse/storage/roommember.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index ed7d936b3d..1160b98ccc 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -584,7 +584,7 @@ class RoomMemberWorkerStore(EventsWorkerStore):
 
     @cached(max_entries=10000)
     def _get_joined_profile_from_event_id(self, event_id):
-        raise NotADirectoryError()
+        raise NotImplementedError()
 
     @cachedList(
         cached_method_name="_get_joined_profile_from_event_id",