summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2016-03-22 00:52:31 +0000
committerMatthew Hodgson <matthew@matrix.org>2016-03-22 00:52:31 +0000
commitd3654694d09ccbc672c8a2373f09b4a3a24442b8 (patch)
treeb624b1f902062f511d782e88265ac381bfbe98d4 /synapse/handlers/directory.py
parentAdd published room list edit API (diff)
downloadsynapse-d3654694d09ccbc672c8a2373f09b4a3a24442b8.tar.xz
an invalide is something else...
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r--synapse/handlers/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index b2617c8898..f6143521fb 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -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: