summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-09-23 10:35:10 +0100
committerMark Haines <mark.haines@matrix.org>2015-09-23 10:35:10 +0100
commite51aa4be9691e7c6918d72810ee0b751f2e48797 (patch)
treeb45f2a19c2886e260bcd58707cfd8c3bd5ebd232
parentRemove unused functions from synapse/storage/events.py (diff)
downloadsynapse-e51aa4be9691e7c6918d72810ee0b751f2e48797.tar.xz
synapse/storage/roommember.py:_get_members_query was unused
-rw-r--r--synapse/storage/roommember.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index cd9eefbd9f..e17cbe677a 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -178,12 +178,6 @@ class RoomMemberStore(SQLBaseStore):
 
         return joined_domains
 
-    def _get_members_query(self, where_clause, where_values):
-        return self.runInteraction(
-            "get_members_query", self._get_members_events_txn,
-            where_clause, where_values
-        ).addCallbacks(self._get_events)
-
     def _get_members_events_txn(self, txn, room_id, membership=None, user_id=None):
         rows = self._get_members_rows_txn(
             txn,