mirror of
https://github.com/element-hq/synapse
synced 2024-09-05 22:20:06 +00:00
Remove unused method
This commit is contained in:
parent
6f52e90065
commit
772b45c745
1 changed files with 0 additions and 8 deletions
|
@ -942,14 +942,6 @@ class RoomListHandler(BaseHandler):
|
||||||
# FIXME (erikj): START is no longer a valid value
|
# FIXME (erikj): START is no longer a valid value
|
||||||
defer.returnValue({"start": "START", "end": "END", "chunk": result})
|
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):
|
class RoomContextHandler(BaseHandler):
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
|
|
Loading…
Reference in a new issue