Skip to content
Snippets Groups Projects
Commit d3654694 authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

an invalide is something else...

parent 3e7fac0d
No related branches found
No related tags found
No related merge requests found
...@@ -324,7 +324,7 @@ class DirectoryHandler(BaseHandler): ...@@ -324,7 +324,7 @@ class DirectoryHandler(BaseHandler):
raise AuthError(403, "Guests cannot edit the published room list") raise AuthError(403, "Guests cannot edit the published room list")
if visibility not in ["public", "private"]: if visibility not in ["public", "private"]:
raise SynapseError(400, "Invalide visibility setting") raise SynapseError(400, "Invalid visibility setting")
room = yield self.store.get_room(room_id) room = yield self.store.get_room(room_id)
if room is None: if room is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment