0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 06:23:52 +01:00

an invalide is something else...

This commit is contained in:
Matthew Hodgson 2016-03-22 00:52:31 +00:00
parent 3e7fac0d56
commit d3654694d0

View file

@ -324,7 +324,7 @@ class DirectoryHandler(BaseHandler):
raise AuthError(403, "Guests cannot edit the published room list")
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)
if room is None: