diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-05-17 10:43:58 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-05-17 10:43:58 +0100 |
commit | 523d5bcd0b4883c5046e52d62db59ff588e342c1 (patch) | |
tree | 2e03fdf537731d9a8d1e8f7a0feaaeb0c9d84eb8 /synapse/handlers/room_member.py | |
parent | Move SyncHandler out of the Handlers object (diff) | |
parent | Merge pull request #786 from matrix-org/matthew/email_notifs_tuning (diff) | |
download | synapse-523d5bcd0b4883c5046e52d62db59ff588e342c1.tar.xz |
Merge remote-tracking branch 'origin/develop' into markjh/liberate_sync_handler
Diffstat (limited to 'synapse/handlers/room_member.py')
-rw-r--r-- | synapse/handlers/room_member.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py index 4e3c1c1c96..7e616f44fd 100644 --- a/synapse/handlers/room_member.py +++ b/synapse/handlers/room_member.py @@ -398,21 +398,6 @@ class RoomMemberHandler(BaseHandler): defer.returnValue(UserID.from_string(invite.sender)) @defer.inlineCallbacks - def get_joined_rooms_for_user(self, user): - """Returns a list of roomids that the user has any of the given - membership states in.""" - - rooms = yield self.store.get_rooms_for_user( - user.to_string(), - ) - - # For some reason the list of events contains duplicates - # TODO(paul): work out why because I really don't think it should - room_ids = set(r.room_id for r in rooms) - - defer.returnValue(room_ids) - - @defer.inlineCallbacks def do_3pid_invite( self, room_id, |