summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-14 11:52:56 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-14 11:52:56 +0100
commitc75add6ec87cb548b5cc74b7e6e0c56d78d5eae9 (patch)
treea3d49973303039996d9aaee7a05bad44df83a80c /synapse/handlers/directory.py
parentIf the web client is enabled, automatically redirect root '/' to the web clie... (diff)
downloadsynapse-c75add6ec87cb548b5cc74b7e6e0c56d78d5eae9.tar.xz
Added a urls module for keeping client and federation prefixes.
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r--synapse/handlers/directory.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index df98e39f69..7c89150d99 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -20,17 +20,11 @@ from ._base import BaseHandler
 from synapse.api.errors import SynapseError
 
 import logging
-import json
-import urllib
 
 
 logger = logging.getLogger(__name__)
 
 
-# TODO(erikj): This needs to be factored out somewere
-PREFIX = "/matrix/client/api/v1"
-
-
 class DirectoryHandler(BaseHandler):
 
     def __init__(self, hs):