summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-09-02 11:09:33 +0100
committerMark Haines <mark.haines@matrix.org>2014-09-02 11:09:41 +0100
commitcf890e9d43fca4a933a385f66d32a6f669c4fa1e (patch)
tree1c0529b090545073092eba7f5fbc2d2e46c6fe0c /synapse/config/server.py
parentFix room permissions test (diff)
downloadsynapse-cf890e9d43fca4a933a385f66d32a6f669c4fa1e.tar.xz
Remove option for disabling webclient because it was confusing
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index de193b7ed1..36143e3c9c 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -29,7 +29,7 @@ class ServerConfig(Config):
         self.unsecure_port = args.unsecure_port
         self.daemonize = args.daemonize
         self.pid_file = self.abspath(args.pid_file)
-        self.webclient = args.no_webclient
+        self.webclient = True
         self.manhole = args.manhole
 
     @classmethod
@@ -53,9 +53,6 @@ class ServerConfig(Config):
         server_group.add_argument('--pid-file', default="hs.pid",
                                   help="When running as a daemon, the file to"
                                   " store the pid in")
-        server_group.add_argument("-W", "--no-webclient", default=True,
-                                  action="store_false",
-                                  help="Don't host a web client.")
         server_group.add_argument("--manhole", metavar="PORT", dest="manhole",
                                   type=int,
                                   help="Turn on the twisted telnet manhole"