Replace hs.parse_roomid with RoomID.from_string

This commit is contained in:
Mark Haines 2015-01-23 11:55:12 +00:00
parent 5759bec43c
commit 1c06c48ce2
8 changed files with 15 additions and 21 deletions

View file

@ -246,8 +246,6 @@ class RoomMemberHandler(BaseHandler):
@defer.inlineCallbacks
def get_room_members(self, room_id):
hs = self.hs
users = yield self.store.get_users_in_room(room_id)
defer.returnValue([UserID.from_string(u) for u in users])