diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-03 17:28:31 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-10-03 17:28:31 +0100 |
commit | 91f61fc6d74e923822eb92933e0d028848285a40 (patch) | |
tree | e8c45ecfc1aeefd3b96119fcb202e6e7bc9a705f /synapse/storage | |
parent | pep8 (diff) | |
download | synapse-91f61fc6d74e923822eb92933e0d028848285a40.tar.xz |
Use the right error....
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/roommember.py | 2 |
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", |