summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-10 14:44:41 +0100
committerErik Johnston <erik@matrix.org>2015-08-10 14:44:41 +0100
commit2c019eea11ce83cbb64ae2ea75e7e7aa260e5f48 (patch)
tree031d5fe72c58f11b455c964efcee146b7d7e110c /synapse/storage
parentComments (diff)
downloadsynapse-2c019eea11ce83cbb64ae2ea75e7e7aa260e5f48.tar.xz
Remove unused function
Diffstat (limited to '')
-rw-r--r--synapse/storage/state.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index 06f0ab3ff6..b83f644fd7 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -65,13 +65,6 @@ class StateStore(SQLBaseStore):
             for group, state_map in group_to_state.items()
         })
 
-    def _fetch_events_for_group(self, key, events):
-        return self._get_events(
-            events, get_prev_content=False
-        ).addCallback(
-            lambda evs: (key, evs)
-        )
-
     def _store_state_groups_txn(self, txn, event, context):
         return self._store_mult_state_groups_txn(txn, [(event, context)])