mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-20 17:14:06 -04:00
an invalide is something else...
This commit is contained in:
parent
3e7fac0d56
commit
d3654694d0
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue