summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-05-16 19:51:43 +0100
committerMark Haines <mark.haines@matrix.org>2016-05-16 19:51:43 +0100
commit816df9f2678d35c33922f4dcdc343a848b16f082 (patch)
tree641b1f817daaac4ff656047865ca70f428628eb5 /synapse
parentReplaces calls to fetch_room_distributions_into with get_joined_hosts_for_room (diff)
downloadsynapse-816df9f2678d35c33922f4dcdc343a848b16f082.tar.xz
get_room_members is unused now
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/roommember.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index 223258785d..face685ed2 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -137,24 +137,6 @@ class RoomMemberStore(SQLBaseStore):
             return [r["user_id"] for r in rows]
         return self.runInteraction("get_users_in_room", f)
 
-    def get_room_members(self, room_id, membership=None):
-        """Retrieve the current room member list for a room.
-
-        Args:
-            room_id (str): The room to get the list of members.
-            membership (synapse.api.constants.Membership): The filter to apply
-            to this list, or None to return all members with some state
-            associated with this room.
-        Returns:
-            list of namedtuples representing the members in this room.
-        """
-        return self.runInteraction(
-            "get_room_members",
-            self._get_members_events_txn,
-            room_id,
-            membership=membership,
-        ).addCallback(self._get_events)
-
     @cached()
     def get_invited_rooms_for_user(self, user_id):
         """ Get all the rooms the user is invited to