summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-10-31 10:47:34 +0000
committerErik Johnston <erik@matrix.org>2014-10-31 10:47:34 +0000
commit21fe249d62deafceca05cc114d5d6bec3e815b8c (patch)
treef7f24bbda7e6df1a12da0324639720a9d5eea20f /synapse/storage
parentold_state_events should be a dict not list (diff)
downloadsynapse-21fe249d62deafceca05cc114d5d6bec3e815b8c.tar.xz
Actually don't store any PDUs
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/event_federation.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py
index 438b42c1da..8357071db6 100644
--- a/synapse/storage/event_federation.py
+++ b/synapse/storage/event_federation.py
@@ -78,6 +78,13 @@ class EventFederationStore(SQLBaseStore):
 
         return results
 
+    def get_min_depth(self, room_id):
+        return self.runInteraction(
+            "get_min_depth",
+            self._get_min_depth_interaction,
+            room_id,
+        )
+
     def _get_min_depth_interaction(self, txn, room_id):
         min_depth = self._simple_select_one_onecol_txn(
             txn,