summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-03 11:43:26 +0000
committerErik Johnston <erik@matrix.org>2016-02-03 11:43:26 +0000
commit772b45c745688745d4c6d6b60047eeafaef773ee (patch)
tree436197bb98e13e8165589fb4766729fd75c2a206 /synapse/handlers/room.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/public_roo... (diff)
downloadsynapse-772b45c745688745d4c6d6b60047eeafaef773ee.tar.xz
Remove unused method
Diffstat (limited to '')
-rw-r--r--synapse/handlers/room.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 0daf2ce28e..42581289ef 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -942,14 +942,6 @@ class RoomListHandler(BaseHandler):
         # FIXME (erikj): START is no longer a valid value
         defer.returnValue({"start": "START", "end": "END", "chunk": result})
 
-    @defer.inlineCallbacks
-    def get_room_avatar_url(self, room_id):
-        event = yield self.hs.get_state_handler().get_current_state(
-            room_id, "m.room.avatar"
-        )
-        if event and "url" in event.content:
-            defer.returnValue(event.content["url"])
-
 
 class RoomContextHandler(BaseHandler):
     @defer.inlineCallbacks