summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-01-23 13:21:58 +0000
committerMark Haines <mark.haines@matrix.org>2015-01-23 13:21:58 +0000
commitada711504efb4dd25fe1123d38a0b2d196b9890a (patch)
tree73789e6eb42442559a7d1e34385827b7465f580c /synapse/server.py
parentReplace hs.parse_roomid with RoomID.from_string (diff)
downloadsynapse-ada711504efb4dd25fe1123d38a0b2d196b9890a.tar.xz
Replace hs.parse_roomalias with RoomAlias.from_string
Diffstat (limited to 'synapse/server.py')
-rw-r--r--synapse/server.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/server.py b/synapse/server.py
index 4dfff04277..41a26ad91a 100644
--- a/synapse/server.py
+++ b/synapse/server.py
@@ -26,7 +26,7 @@ from synapse.api.auth import Auth
 from synapse.handlers import Handlers
 from synapse.state import StateHandler
 from synapse.storage import DataStore
-from synapse.types import RoomAlias, EventID
+from synapse.types import EventID
 from synapse.util import Clock
 from synapse.util.distributor import Distributor
 from synapse.util.lockutils import LockManager
@@ -127,11 +127,6 @@ class BaseHomeServer(object):
     # TODO: Why are these parse_ methods so high up along with other globals?
     # Surely these should be in a util package or in the api package?
 
-    def parse_roomalias(self, s):
-        """Parse the string given by 's' as a Room Alias and return a RoomAlias
-        object."""
-        return RoomAlias.from_string(s)
-
     def parse_eventid(self, s):
         """Parse the string given by 's' as a Event ID and return a EventID
         object."""