diff options
author | Erik Johnston <erik@matrix.org> | 2016-02-03 11:43:26 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-02-03 11:43:26 +0000 |
commit | 772b45c745688745d4c6d6b60047eeafaef773ee (patch) | |
tree | 436197bb98e13e8165589fb4766729fd75c2a206 /synapse | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/public_roo... (diff) | |
download | synapse-772b45c745688745d4c6d6b60047eeafaef773ee.tar.xz |
Remove unused method
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/room.py | 8 |
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 |